From 9d3f1aa7571cd532c0c27bf8376ebf4b2178a252 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期三, 24 七月 2024 17:45:45 +0800
Subject: [PATCH] fix:解决srm之前改了域名,处理各种异常状态,跳转也会出现异常等问题。

---
 src/store/modules/getSupplierName.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/store/modules/getSupplierName.js b/src/store/modules/getSupplierName.js
index 3a9a5c5..897d522 100644
--- a/src/store/modules/getSupplierName.js
+++ b/src/store/modules/getSupplierName.js
@@ -12,9 +12,9 @@
   },
   actions:{
     getSupplier(context){
-      getSupplierList({page:1,pageSize:50}).then((res) => {
-        if (res.data.code == 200) {
-          context.commit("supplierNameList", res.data.data.list)
+      getSupplierList({page:1,pageSize:100,status:1}).then((res) => {
+        if (res.code == 200) {
+          context.commit("supplierNameList", res.data.list)
         } else {
           Message.error(res.msg)
         }

--
Gitblit v1.8.0