modify:公共的获取数据字典相关方法的调整;

RS2509
Administrator 2025-11-06 10:41:02 +08:00
parent 0379cef6b4
commit de9e0a207f
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ export async function getDictionary(dictType ){
}).then(response => { }).then(response => {
dictionary = response.data; dictionary = response.data;
dictionary.map((item) => { dictionary.map((item) => {
item.text = item.label item.text = item.label,
item.value = item.value
}); });
}).catch((e)=>{ }).catch((e)=>{
console.log("获取下拉值数据时出现异常",e) console.log("获取下拉值数据时出现异常",e)