mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-16 10:57:09 +08:00
fix: 修复打包部署后或 preview 模式下,布局切换及页签显示异常
Closes #I9OHTJ Closes #I9OHQ5
This commit is contained in:
@@ -56,8 +56,8 @@ tabsStore.reset()
|
||||
// 路由发生改变触发
|
||||
const handleRouteChange = () => {
|
||||
const item = { ...route } as unknown as RouteRecordRaw
|
||||
tabsStore.addTagItem(item)
|
||||
tabsStore.addCacheItem(item)
|
||||
tabsStore.addTagItem(toRaw(item))
|
||||
tabsStore.addCacheItem(toRaw(item))
|
||||
// console.log('路由对象', toRaw(item))
|
||||
// console.log('tagList', toRaw(tabsStore.tagList))
|
||||
// console.log('cacheList', toRaw(tabsStore.cacheList))
|
||||
|
||||
Reference in New Issue
Block a user