修复浏览器刷新后页面切换页签无法加载问题
This commit is contained in:
parent
a2aa467030
commit
5621ea4a29
|
@ -12,6 +12,8 @@
|
|||
|
||||
<script setup>
|
||||
let store = useStore()
|
||||
const route = useRoute()
|
||||
store.dispatch('tagsView/addCachedView', route)
|
||||
const cachedViews = computed(() => {
|
||||
return store.state.tagsView.cachedViews
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue