From 15f05b602fd5aa3722fa993359cd0be46d0fdc6f Mon Sep 17 00:00:00 2001 From: mingliangyang <yml@shencevc.cn> Date: 星期五, 14 一月 2022 16:26:03 +0800 Subject: [PATCH] fix ruoyi-vue3下点击编辑,取消修改报错问题 --- ruoyi-ui/src/api/system/dict/type.js | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js index 80a6cfa..526977d 100644 --- a/ruoyi-ui/src/api/system/dict/type.js +++ b/ruoyi-ui/src/api/system/dict/type.js @@ -43,11 +43,18 @@ }) } -// 瀵煎嚭瀛楀吀绫诲瀷 -export function exportType(query) { +// 鍒锋柊瀛楀吀缂撳瓨 +export function refreshCache() { return request({ - url: '/system/dict/type/export', - method: 'get', - params: query + url: '/system/dict/type/refreshCache', + method: 'delete' }) } + +// 鑾峰彇瀛楀吀閫夋嫨妗嗗垪琛� +export function optionselect() { + return request({ + url: '/system/dict/type/optionselect', + method: 'get' + }) +} \ No newline at end of file -- Gitblit v1.9.3