空值不进行回显数据字典

This commit is contained in:
RuoYi
2022-01-02 10:24:19 +08:00
parent 4704e92593
commit 13d9251225

View File

@ -82,6 +82,9 @@ export function selectDictLabel(datas, value) {
// 回显数据字典(字符串数组)
export function selectDictLabels(datas, value, separator) {
if(value === undefined) {
return "";
}
var actions = [];
var currentSeparator = undefined === separator ? "," : separator;
var temp = value.split(currentSeparator);