feat: 解决部门文字不回显的问题
This commit is contained in:
@ -72,10 +72,10 @@ const getDataById = (id) => {
|
||||
getJudgmentCommandDetail(id).then((res) => {
|
||||
console.log('res: ', res);
|
||||
listQuery.value = res || {};
|
||||
// const cyypList = Array.isArray(res.cyypList) ? res.cyypList : []
|
||||
// listQuery.value.zpbmList = cyypList.map(item => {
|
||||
// return item.ypbmdm
|
||||
// })
|
||||
const xfbmList = Array.isArray(res.xfbmList) ? res.xfbmList : []
|
||||
listQuery.value.zpbmList = xfbmList.map(item => {
|
||||
return item.ypbmdm
|
||||
})
|
||||
// const xfbmMc = res.xfbmMc
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user