We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4711527 commit 95be524Copy full SHA for 95be524
ui/src/views/system/user-manage/component/UserDrawer.vue
@@ -291,13 +291,12 @@ const open = (data: any) => {
291
userForm.value.password = data.password
292
userForm.value.phone = data.phone
293
userForm.value.nick_name = data.nick_name
294
- list.value = data.role_setting.map((item: any) => ({
+ list.value = data.role_setting?.map((item: any) => ({
295
...item,
296
workspace_ids: item.workspace_ids.includes('None') ? [] : item.workspace_ids,
297
}))
298
isEdit.value = true
299
} else {
300
- //需要查询默认密码是啥zxl
301
userManageApi.getSystemDefaultPassword().then((res: any) => {
302
userForm.value.password = res.data.password
303
})
0 commit comments