RuoYi
2022-07-20 cafff38a6e86e7f6db12d3b4405b0c0d52082e52
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();
  });
}