优化编辑门径问题

This commit is contained in:
java110 2021-03-30 18:33:47 +08:00
parent 3a71f33099
commit 8f3162f087
2 changed files with 5 additions and 5 deletions

8
app.js
View File

@ -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));

View File

@ -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', {});