From a057b7a4b94b77e91e5d3a1e7a2296c79446815f Mon Sep 17 00:00:00 2001
From: runphp <runphp@qq.com>
Date: Thu, 29 Sep 2022 18:16:11 +0800
Subject: [PATCH] fix: 改为静态方法, isError和isSuccess方法会被json序列化 isError和isSuccess会被json序列化 `{"error":false,"success":true}`
---
ruoyi-ui/src/views/system/dict/index.vue | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/ruoyi-ui/src/views/system/dict/index.vue
index d26d140..13a5f3d 100644
--- a/ruoyi-ui/src/views/system/dict/index.vue
+++ b/ruoyi-ui/src/views/system/dict/index.vue
@@ -339,6 +339,7 @@
handleRefreshCache() {
refreshCache().then(() => {
this.$modal.msgSuccess("刷新成功");
+ this.$store.dispatch('dict/cleanDict');
});
}
}
--
Gitblit v1.9.3