合并代码
This commit is contained in:
@@ -243,12 +243,6 @@ const router = createRouter({
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
NProgress.start()
|
||||
|
||||
// 系统维护模式:所有页面都跳转到维护页面
|
||||
// if (to.name !== 'Loading') {
|
||||
// next({ name: 'Loading' })
|
||||
// return
|
||||
// }
|
||||
|
||||
const userStore = useUserStore()
|
||||
|
||||
// 设置页面标题
|
||||
|
||||
Reference in New Issue
Block a user