modify:公共的获取数据字典相关方法的调整;
parent
0379cef6b4
commit
de9e0a207f
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue