Pre Merge pull request !1024 from 隐龙在渊/N/A

pull/1024/MERGE
隐龙在渊 2025-12-02 05:09:16 +00:00 committed by Gitee
commit 6bc9574c9e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 4 deletions

View File

@ -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
}
})