商家列表,商家主页,我的团队
This commit is contained in:
@@ -22,7 +22,7 @@ const router = createRouter({
|
||||
//全局路由前置守卫
|
||||
router.beforeEach((to, from, next) => {
|
||||
if(to.name === 'Auth' && store.getters.getToken != '' && uni.getStorageSync('token') != ''){
|
||||
if(store.getters.getIsNew === 0 || uni.getStorageSync('isnew') === 0){
|
||||
if(uni.getStorageSync('isnew') === 0){
|
||||
next({
|
||||
name: 'AuthRole',
|
||||
NAVTYPE: 'replace'
|
||||
|
||||
Reference in New Issue
Block a user