空值不进行回显数据字典

This commit is contained in:
RuoYi 2022-01-02 10:24:07 +08:00
parent 8c6718018b
commit 9fe1d83f60

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);