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 @@