Browse Source

数据字典修改后无需退出,刷新缓存即可生效

danch 5 days ago
parent
commit
b2fb5eb1a0

+ 1 - 0
jeecgboot-vue3/src/layouts/default/header/components/user-dropdown/index.vue

@@ -128,6 +128,7 @@
           setAuthCache(DB_DICT_DATA_KEY, res.result);
           // update-begin--author:liaozhiyang---date:20240124---for:【QQYUN-7970】国际化
           createMessage.success(t('layout.header.refreshCacheComplete'));
+          userStore.setAllDictItems(res.result);
           // update-end--author:liaozhiyang---date:20240124---for:【QQYUN-7970】国际化
         } else {
           // update-begin--author:liaozhiyang---date:20240124---for:【QQYUN-7970】国际化