mirror of https://gitee.com/karson/fastadmin.git
Pre Merge pull request !454 from 还俗二师兄/develop
commit
50cfa16feb
|
|
@ -157,7 +157,7 @@
|
|||
} else {
|
||||
key = isArray ? value : key;
|
||||
}
|
||||
optionList.push(sprintf("<option value='" + key + "' %s>" + value + "</option>", key == vObjCol.defaultValue ? 'selected' : ''));
|
||||
optionList.push(sprintf("<option value='" + key + "' %s>" + value + "</option>", vObjCol.defaultValue && key == vObjCol.defaultValue ? 'selected' : ''));
|
||||
});
|
||||
return optionList;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue