fix
This commit is contained in:
@@ -59,8 +59,6 @@ const router = createRouter({
|
|||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
// // 获取路由配置对象
|
|
||||||
// const route = router.resolve({ path: '/' }).route
|
|
||||||
// 系统维护
|
// 系统维护
|
||||||
// const toName = to.name === 'upgrade';
|
// const toName = to.name === 'upgrade';
|
||||||
// if (toName) {
|
// if (toName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user