mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-17 11:42:27 +08:00
fix Bug
This commit is contained in:
@@ -211,6 +211,7 @@ export default defineComponent({
|
|||||||
if (whiteList.includes(route.name as string) || ['ErrorPage'].includes(route.name as string)) return
|
if (whiteList.includes(route.name as string) || ['ErrorPage'].includes(route.name as string)) return
|
||||||
state.activeKey = to
|
state.activeKey = to
|
||||||
tabsViewStore.addTabs(getSimpleRoute(route))
|
tabsViewStore.addTabs(getSimpleRoute(route))
|
||||||
|
onElementResize()
|
||||||
},
|
},
|
||||||
{ immediate: true }
|
{ immediate: true }
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user