修复浏览器刷新后页面切换页签无法加载问题

This commit is contained in:
RuoYi
2021-12-18 21:48:15 +08:00
parent 26ff7d8d7c
commit e03332cd15

View File

@@ -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
})