Pre Merge pull request !1024 from 隐龙在渊/N/A
commit
6bc9574c9e
|
|
@ -73,8 +73,8 @@ export function selectDictLabel(datas, value) {
|
|||
}
|
||||
var actions = []
|
||||
Object.keys(datas).some((key) => {
|
||||
if (datas[key].value == ('' + value)) {
|
||||
actions.push(datas[key].label)
|
||||
if (datas[key].dictValue == ('' + value)) {
|
||||
actions.push(datas[key].dictLabel)
|
||||
return true
|
||||
}
|
||||
})
|
||||
|
|
@ -98,8 +98,8 @@ export function selectDictLabels(datas, value, separator) {
|
|||
Object.keys(value.split(currentSeparator)).some((val) => {
|
||||
var match = false
|
||||
Object.keys(datas).some((key) => {
|
||||
if (datas[key].value == ('' + temp[val])) {
|
||||
actions.push(datas[key].label + currentSeparator)
|
||||
if (datas[key].dictValue == ('' + temp[val])) {
|
||||
actions.push(datas[key].dictLabel + currentSeparator)
|
||||
match = true
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue