回显数据字典(字符串数组)增加空值判断
This commit is contained in:
@ -499,6 +499,9 @@ var table = {
|
||||
},
|
||||
// 回显数据字典(字符串数组)
|
||||
selectDictLabels: function(datas, value, separator) {
|
||||
if ($.common.isEmpty(value)){
|
||||
return '';
|
||||
}
|
||||
var currentSeparator = $.common.isEmpty(separator) ? "," : separator;
|
||||
var actions = [];
|
||||
$.each(value.split(currentSeparator), function(i, val) {
|
||||
|
Reference in New Issue
Block a user