diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue
index ffff5681..a8ae601b 100644
--- a/src/components/Search/src/Search.vue
+++ b/src/components/Search/src/Search.vue
@@ -9,6 +9,8 @@ import { FormSchema } from '@/types/form'
const { t } = useI18n()
+const slots = useSlots()
+
const props = defineProps({
// 生成Form的布局结构数组
schema: {
@@ -123,6 +125,7 @@ const setVisible = () => {
+
diff --git a/src/store/modules/tagsView.ts b/src/store/modules/tagsView.ts
index e9fbf371..a60d0e45 100644
--- a/src/store/modules/tagsView.ts
+++ b/src/store/modules/tagsView.ts
@@ -58,7 +58,7 @@ export const useTagsViewStore = defineStore('tagsView', {
// 删除某个
delView(view: RouteLocationNormalizedLoaded) {
this.delVisitedView(view)
- this.addCachedView()
+ this.delCachedView()
},
// 删除tag
delVisitedView(view: RouteLocationNormalizedLoaded) {
@@ -80,7 +80,7 @@ export const useTagsViewStore = defineStore('tagsView', {
// 删除所有缓存和tag
delAllViews() {
this.delAllVisitedViews()
- this.addCachedView()
+ this.delCachedView()
},
// 删除所有tag
delAllVisitedViews() {