加入初始化页面

This commit is contained in:
java110 2020-03-24 13:49:23 +08:00
parent e88b570c3a
commit e64384827b
2 changed files with 5 additions and 4 deletions

4
app.js
View File

@ -31,8 +31,8 @@ let opts = {
} }
//app.use('/callComponent',proxy('http://192.168.0.104:8012',opts)); //app.use('/callComponent',proxy('http://192.168.0.104:8012',opts));
//app.use('/callComponent',proxy('http://hc.demo.winqi.cn:8012',opts)); app.use('/callComponent',proxy('http://hc.demo.winqi.cn:8012',opts));
app.use('/callComponent',proxy('http://10.10.10.6:8012',opts)); //app.use('/callComponent',proxy('http://10.10.10.6:8012',opts));
//app.listen(3000); //app.listen(3000);
app.use(express.json()); app.use(express.json());

View File

@ -37,6 +37,7 @@
); );
}, },
_validateHasStore: function (_param) { _validateHasStore: function (_param) {
console.log("_param",_param);
var param = { var param = {
params:{ params:{
_uId:'ccdd00opikookjuhyyttvhnnjuuu' _uId:'ccdd00opikookjuhyyttvhnnjuuu'
@ -51,9 +52,9 @@
}else{ }else{
vc.jumpToPage("/initCompany.html#/company"); vc.jumpToPage("/initCompany.html#/company");
} }
}, function () { }, function (e) {
console.log('请求失败处理'); console.log('请求失败处理');
vc.jumpToPage(_param.url); vc.jumpToPage("/initCompany.html#/company");
} }
); );
} }