mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
优化编辑门径问题
This commit is contained in:
parent
3a71f33099
commit
8f3162f087
8
app.js
8
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('/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('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||||
|
|
||||||
//app.use('/callComponent',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('/app',proxy('http://127.0.0.1:8012',opts));
|
||||||
|
|
||||||
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
||||||
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
||||||
|
|||||||
@ -72,7 +72,7 @@
|
|||||||
},
|
},
|
||||||
function (json, res) {
|
function (json, res) {
|
||||||
let _json = JSON.parse(json);
|
let _json = JSON.parse(json);
|
||||||
if (_json.code == 200) {
|
if (_json.code == 0) {
|
||||||
//关闭model
|
//关闭model
|
||||||
$('#editLocationModel').modal('hide');
|
$('#editLocationModel').modal('hide');
|
||||||
vc.emit('locationManage', 'listLocation', {});
|
vc.emit('locationManage', 'listLocation', {});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user