From 5406c968df73ba6467f26f1305e4b480f60445c6 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 6 Jan 2023 10:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 14 +++++++------- src/views/basic/CorpMaintain.vue | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/public/config.js b/public/config.js index a100d15..740ba04 100644 --- a/public/config.js +++ b/public/config.js @@ -2,19 +2,19 @@ window.global_config = { // "BASE_URL":"http://127.0.0.1:9996", // "BASE_URL":"http://139.159.187.130/SPMS_SERVER/", - "BASE_URL": "http://139.159.187.130:8980", + // "BASE_URL": "http://139.159.187.130:8980", - /** - "BASE_URL":"http://192.168.192.201/SPMS_SERVER", - "SERVER_IP": "http://192.168.192.201/SPMS_SERVER" + // + // "BASE_URL":"http://192.168.192.201/SPMS_SERVER", + // "SERVER_IP": "http://192.168.192.201/SPMS_SERVER" - "BASE_URL":"http://192.168.0.109:9996", - "SERVER_IP": "http://192.168.0.109:9996" + "BASE_URL":"http://127.0.0.1:9906", + "SERVER_IP": "http://127.0.0.1:9906" + - */ }; diff --git a/src/views/basic/CorpMaintain.vue b/src/views/basic/CorpMaintain.vue index cae4982..38a2775 100644 --- a/src/views/basic/CorpMaintain.vue +++ b/src/views/basic/CorpMaintain.vue @@ -417,6 +417,9 @@ export default { this.getList(); }, getList() { + if(this.query.key!=null){ + this.query.page=1 + } this.loading = true; this.erpIdColumn = false; this.thirdIdColumn = false;