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