This commit is contained in:
zhoutianchi
2026-01-30 10:54:25 +08:00
parent 62957ee964
commit 53f71066f3

View File

@@ -311,9 +311,9 @@ const getRoleData = () => {
roleList().then((res) => {
roleData.value = res.data;
// 默认选择第一个
if (!dataForm.userId) {
dataForm.role = [res.data[0].roleId];
}
// if (!dataForm.userId) {
// dataForm.role = [res.data[0].roleId];
// }
});
};