mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-07 19:15:23 +08:00
v3.8.1发布,上传前端代码
This commit is contained in:
@ -53,7 +53,8 @@ export function filterDictText(dictOptions, text) {
|
||||
let dictText = txt;
|
||||
for (let dictItem of dictOptions) {
|
||||
// update-begin--author:liaozhiyang---date:20240524---for:【TV360X-469】兼容数据null值防止报错
|
||||
if (dictItem == null) break;
|
||||
if (dictItem == null) continue;
|
||||
if (dictItem.value == null) continue;
|
||||
// update-end--author:liaozhiyang---date:20240524---for:【TV360X-469】兼容数据null值防止报错
|
||||
if (txt.toString() === dictItem.value.toString()) {
|
||||
dictText = dictItem.text || dictItem.title || dictItem.label;
|
||||
|
||||
@ -25,7 +25,7 @@ export const getDictItemsByCode = (code) => {
|
||||
|
||||
};
|
||||
/**
|
||||
* Popup字典翻译方法
|
||||
* 从缓存中获取Pop字典配置
|
||||
* @param text
|
||||
* @param code
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user