From 3b765f3ac9f816332a79b2e4405ed49005bbeb5f Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 13 七月 2021 11:24:12 +0800
Subject: [PATCH] fix 修复代码生成字典为null问题

---
 ruoyi-ui/src/api/system/dict/type.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js
index b8d974e..2f0532d 100644
--- a/ruoyi-ui/src/api/system/dict/type.js
+++ b/ruoyi-ui/src/api/system/dict/type.js
@@ -43,6 +43,14 @@
   })
 }
 
+// 鍒锋柊瀛楀吀缂撳瓨
+export function refreshCache() {
+  return request({
+    url: '/system/dict/type/refreshCache',
+    method: 'delete'
+  })
+}
+
 // 瀵煎嚭瀛楀吀绫诲瀷
 export function exportType(query) {
   return request({
@@ -58,4 +66,4 @@
     url: '/system/dict/type/optionselect',
     method: 'get'
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3