Commit d1351679 authored by 符伟's avatar 符伟

跳转test

parent 85fd766a
......@@ -168,6 +168,7 @@
var gHost = "https://" + window.location.host;
if (window.location.protocol != "https:") {
gHost = "https://fpdev.xiaopay.net";
// gHost = "/api";
}
let times = 0;
var limitClick = false; //禁止重复点击
......@@ -515,11 +516,11 @@
BackToMini(page) {
if (page == 'UserMain' || page == 'personalCenter') {
wx.miniProgram.switchTab({
url: `/pages/${page}/main`,
url: '/pages/'+page+'/main',
});
} else {
wx.miniProgram.redirectTo({
url: `/pages/${page}/main`,
url: '/pages/'+page+'/main',
});
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment