mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 19:35:07 +08:00
🎈 perf:优化动态路由在首次加载时未匹配导致警告、路由不存在时保留错误路径
This commit is contained in:
@ -593,6 +593,16 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
component: () => import('@/views/Error/404.vue'),
|
||||
name: '',
|
||||
meta: {
|
||||
title: '404',
|
||||
hidden: true,
|
||||
breadcrumb: false
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user