提交 92e5d2a9 编写于 作者: R RuoYi

回显数据字典键值修正

上级 e1659015
...@@ -87,8 +87,8 @@ export function selectDictLabels(datas, value, separator) { ...@@ -87,8 +87,8 @@ export function selectDictLabels(datas, value, separator) {
var temp = value.split(currentSeparator); var temp = value.split(currentSeparator);
Object.keys(value.split(currentSeparator)).some((val) => { Object.keys(value.split(currentSeparator)).some((val) => {
Object.keys(datas).some((key) => { Object.keys(datas).some((key) => {
if (datas[key].dictValue == ('' + temp[val])) { if (datas[key].value == ('' + temp[val])) {
actions.push(datas[key].dictLabel + currentSeparator); actions.push(datas[key].label + currentSeparator);
} }
}) })
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册