From 49a6f4d362469ad72503d7aaeb441b6b656d6da0 Mon Sep 17 00:00:00 2001
From: CrazyLionLi <31852897+JavaLionLi@users.noreply.github.com>
Date: 星期六, 28 五月 2022 21:58:12 +0800
Subject: [PATCH] fix 修复 运行缺失 @vueuse/core 依赖

---
 src/layout/components/AppMain.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index cf7bdca..2dd6548 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -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
 })

--
Gitblit v1.9.3