|
@@ -118,7 +118,7 @@ router.beforeEach(async (to, from, next) => {
|
|
|
// console.log(firstMenu, 'firstMenu', isMenu)
|
|
|
// 判断是否有菜单
|
|
|
if(isMenu) {
|
|
|
- if(to.path == '/main/main') {
|
|
|
+ if(to.path == '/workbench') {
|
|
|
next({ path: firstMenu, replace: true })
|
|
|
} else {
|
|
|
next({ ...to, replace: true })
|