feat: support set username when creating new user

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/591/head
Ryan Wang 2022-07-27 10:52:16 +08:00
parent f750b24e6c
commit 7094f3ebaa
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ onMounted(handleFetchRoles);
<FormKit id="user-form" type="form" @submit="handleCreateUser">
<FormKit
v-model="formState.user.metadata.name"
:disabled="true"
:disabled="isUpdateMode"
label="用户名"
type="text"
validation="required"