优化
This commit is contained in:
@ -445,7 +445,9 @@ const getMajor = async () => {
|
||||
let res = await extractUserMajor({ userId: userId.value, projectId: currentProject.value?.id });
|
||||
if (res.code == 200) {
|
||||
des_user_major.value = res.data;
|
||||
console.log(des_user_major.value);
|
||||
if (res.data.length > 0) {
|
||||
form.user_major = res.data[0].userMajor;
|
||||
}
|
||||
}
|
||||
};
|
||||
/** 回显表单数据(编辑/查看/审批场景) */
|
||||
|
Reference in New Issue
Block a user