商家列表,商家主页,我的团队

This commit is contained in:
唐明明
2022-06-09 16:55:32 +08:00
parent 0a5e711eec
commit e1602d0a2f
29 changed files with 6232 additions and 4382 deletions

View File

@@ -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'