fix: 修复系统用户用户名禁用的问题

This commit is contained in:
ibuler
2021-05-19 18:06:34 +08:00
committed by Jiangjie.Bai
parent c39733cf66
commit 6a45fccfcd

View File

@@ -36,6 +36,8 @@ function getFields() {
if (form.username_same_with_user) {
this.fieldsMeta.username.el.disabled = true
form.username = ''
} else {
this.fieldsMeta.username.el.disabled = false
}
}
}