mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud-Vue3.git
synced 2025-06-05 00:39:44 +00:00
空值不进行回显数据字典
This commit is contained in:
parent
8c6718018b
commit
9fe1d83f60
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user