update 同步 ruoyi 相关提交

* fix 修复Log注解GET请求记录不到参数问题
* fix 修复某些特性的环境生成代码变乱码TXT文件问题
* update 消除Vue3控制台出现的警告信息
* fix 开启TopNav没有子菜单隐藏侧边栏
* fix 修复回显数据字典数组异常问题(I60UYQ)
* update 忽略不必要的属性数据返回
This commit is contained in:
疯狂的狮子li
2022-11-24 15:26:03 +08:00
parent 96f7482da5
commit 0427d362d9
9 changed files with 68 additions and 70 deletions

View File

@@ -86,11 +86,14 @@ export function selectDictLabel(datas, value) {
return actions.join('');
}
// 回显数据字典(字符串数组)
// 回显数据字典(字符串数组)
export function selectDictLabels(datas, value, separator) {
if (value === undefined) {
if (value === undefined || value.length ===0) {
return "";
}
if (Array.isArray(value)) {
value = value.join(",");
}
var actions = [];
var currentSeparator = undefined === separator ? "," : separator;
var temp = value.split(currentSeparator);
@@ -233,4 +236,4 @@ export async function blobValidate(data) {
} catch (error) {
return true;
}
}
}