This commit is contained in:
PQZ 2024-10-19 18:07:46 +08:00
parent 089168fe6a
commit 3f16669cf3

View File

@ -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 "未知数据"
}
} }
} }