[消息跳转详情及银行卡优化修改]

This commit is contained in:
2021-09-29 17:46:56 +08:00
parent e44c09d7f2
commit 4390e79105
4 changed files with 20 additions and 15 deletions

View File

@@ -29,11 +29,11 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
const token = store.getters.getToken || uni.getStorageSync('token')
// 检查是否需要微信授权
if(store.getters.getCode === '' && to.name != 'wxAuth'){
next({
name: 'wxAuth'
})
}
// if(store.getters.getCode === '' && to.name != 'wxAuth'){
// next({
// name: 'wxAuth'
// })
// }
// 检查是否需要登录
if(to.auth && token === ''){
next({