优化入驻报错问题

This commit is contained in:
java110 2020-03-24 00:17:20 +08:00
parent 47d898a2d7
commit 25c3c0a0c6
2 changed files with 2 additions and 1 deletions

2
app.js
View File

@ -32,7 +32,7 @@ let 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://8012syj.nps.winqi.cn',opts));
app.use('/callComponent',proxy('http://10.10.10.6:8012',opts));
//app.listen(3000);
app.use(express.json());

View File

@ -998,6 +998,7 @@
//绑定跳转函数
vcFramework.jumpToPage = function (url) {
//判断 url 的模板是否 和当前url 模板一个
console.log('jumpToPage',url);
if (url.indexOf('#') < 0) {
window.location.href = url;
return;