Commit 06b41e11 authored by 李智书's avatar 李智书
parents b71de71b d1351679
......@@ -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