matchDictionaryList = (type, value)=>{
let moduleType = searchTextByValues(type);
return (
moduleType instanceof Array ?
moduleType.map((item)=>{
if(item.value === value) { //匹配
return item.text;
}
})
: ''
)
}
js 判断数组类型
猜你喜欢
转载自blog.csdn.net/qq_38719039/article/details/81512005
今日推荐
周排行