From 3d29929b570ca3a00e933816eb9bc0934399d469 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 29 七月 2022 20:38:55 +0800
Subject: [PATCH] 优化表格上右侧工具条(搜索按钮显隐&右侧样式凸出)

---
 src/views/system/dict/index.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index 1e54c29..d1f5d8a 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -182,6 +182,7 @@
 </template>
 
 <script setup name="Dict">
+import useDictStore from '@/store/modules/dict'
 import { listType, getType, delType, addType, updateType, refreshCache } from "@/api/system/dict/type";
 
 const { proxy } = getCurrentInstance();
@@ -313,6 +314,7 @@
 function handleRefreshCache() {
   refreshCache().then(() => {
     proxy.$modal.msgSuccess("鍒锋柊鎴愬姛");
+    useDictStore().cleanDict();
   });
 }
 

--
Gitblit v1.9.3