From 5c4c90a27c352dfc0da414e32c25324caf06f686 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 13 五月 2022 15:00:24 +0800 Subject: [PATCH] 用户管理左侧树型组件增加选中高亮保持 --- 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