Compare commits
2 Commits
1f416af512
...
107469a4ea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
107469a4ea | ||
|
|
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