空值不进行回显数据字典

master
RuoYi 3 years ago
parent 4704e92593
commit 13d9251225
  1. 3
      src/utils/ruoyi.js

@ -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…
Cancel
Save