Commit 1e75797c authored by 符伟's avatar 符伟

bug修改

parent d1351679
...@@ -515,12 +515,12 @@ ...@@ -515,12 +515,12 @@
//返回小程序 跳转指定页面 //返回小程序 跳转指定页面
BackToMini(page) { BackToMini(page) {
if (page == 'UserMain' || page == 'personalCenter') { if (page == 'UserMain' || page == 'personalCenter') {
wx.miniProgram.switchTab({ jWeixin.miniProgram.switchTab({
url: '/pages/'+page+'/main', url: `/pages/${page}/main`,
}); });
} else { } else {
wx.miniProgram.redirectTo({ jWeixin.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