From a08c28e50923ac6f10611e938e37e972d5d72943 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 19 六月 2022 12:27:30 +0800 Subject: [PATCH] 图片上传限制limit隐藏增加按钮 --- src/layout/components/AppMain.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index cf7bdca..c123f3e 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -11,9 +11,13 @@ </template> <script setup> -let store = useStore() +import useTagsViewStore from '@/store/modules/tagsView' + +const tagsViewStore = useTagsViewStore() +const route = useRoute() +tagsViewStore.addCachedView(route) const cachedViews = computed(() => { - return store.state.tagsView.cachedViews + return tagsViewStore.cachedViews }) </script> -- Gitblit v1.9.3