1
This commit is contained in:
parent
089168fe6a
commit
3f16669cf3
@ -146,6 +146,13 @@ export function getDictTextByCodeAndValue(dictCode,value){
|
||||
}
|
||||
}
|
||||
})
|
||||
}else{
|
||||
let dictObj = dictArray.find(item=>item.value==value)
|
||||
if(dictObj){
|
||||
return dictObj.label
|
||||
}else{
|
||||
return "未知数据"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user