From 8f3162f087c3602dddcbd52ea0f1ffd897205151 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 30 Mar 2021 18:33:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=96=E8=BE=91=E9=97=A8?= =?UTF-8?q?=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 8 ++++---- public/components/property/editLocation/editLocation.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 366efffb1..a1ec5b097 100644 --- a/app.js +++ b/app.js @@ -36,11 +36,11 @@ let opts = { //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); -//app.use('/callComponent',proxy('http://127.0.0.1:8012',opts)); -//app.use('/app',proxy('http://127.0.0.1:8012',opts)); +app.use('/callComponent',proxy('http://127.0.0.1:8012',opts)); +app.use('/app',proxy('http://127.0.0.1:8012',opts)); //app.use('/callComponent',proxy('http://192.168.1.16:8012',opts)); //app.use('/app',proxy('http://192.168.1.16:8012',opts)); diff --git a/public/components/property/editLocation/editLocation.js b/public/components/property/editLocation/editLocation.js index 3f671f921..4c7572a12 100644 --- a/public/components/property/editLocation/editLocation.js +++ b/public/components/property/editLocation/editLocation.js @@ -72,7 +72,7 @@ }, function (json, res) { let _json = JSON.parse(json); - if (_json.code == 200) { + if (_json.code == 0) { //关闭model $('#editLocationModel').modal('hide'); vc.emit('locationManage', 'listLocation', {});