Commit 4df6368c authored by 潘永坪's avatar 潘永坪

首页开发

parent c1fe7649
...@@ -21,13 +21,13 @@ export default { ...@@ -21,13 +21,13 @@ export default {
let path = options.path let path = options.path
uni.setStorageSync('enterOptions', options) uni.setStorageSync('enterOptions', options)
let token = uni.getStorageSync('token')||'' let token = uni.getStorageSync('token')||''
// if (!token && path.indexOf('pages/payment/ourPayment/ourPayment') == -1) { //扫码支付页面不需要在此登录 if (!token && path.indexOf('pages/payment/ourPayment/ourPayment') == -1) { //扫码支付页面不需要在此登录
// setTimeout(() => { //解决关联普通二维码扫码首次进入时一直显示登录中 setTimeout(() => { //解决关联普通二维码扫码首次进入时一直显示登录中
// uni.navigateTo({ uni.navigateTo({
// url: '/pages/login/login' url: '/pages/login/login'
// }) })
// }, 300) }, 300)
// } }
//#ifdef MP-WEIXIN //#ifdef MP-WEIXIN
uni.setStorageSync('appid', 'wxe678d5240e98a7b8') uni.setStorageSync('appid', 'wxe678d5240e98a7b8')
//#endif //#endif
......
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