From cccd370671f051e7bdb122eb8c37555f179fdded Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Wed, 17 Jul 2024 22:47:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=88=B7=E6=96=B0=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict-type.js | 7 +++++++ src/views/tool/dict/index.vue | 11 ++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/api/system/dict-type.js b/src/api/system/dict-type.js index 63b4907..1d59c7a 100644 --- a/src/api/system/dict-type.js +++ b/src/api/system/dict-type.js @@ -49,3 +49,10 @@ export const delDictType =(dictTypeId) => { method: 'delete' }) } +//字典刷新缓存 +export const refreshDict =() => { + return request({ + url: 'admin/dict/type/refresh', + method: 'post' + }) +} diff --git a/src/views/tool/dict/index.vue b/src/views/tool/dict/index.vue index a2075a2..7a315d4 100644 --- a/src/views/tool/dict/index.vue +++ b/src/views/tool/dict/index.vue @@ -4,8 +4,8 @@
新增 - - + 刷新缓存 + 修改 @@ -217,7 +217,7 @@