mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-21 23:59:22 +00:00
perf: 优化用户创建
This commit is contained in:
@@ -58,7 +58,7 @@ export default {
|
||||
if (formValue.password_strategy === 'custom') {
|
||||
return false
|
||||
}
|
||||
return !formValue.update_password
|
||||
return !formValue.update_password || formValue.source !== 'local'
|
||||
},
|
||||
el: {
|
||||
required: false,
|
||||
@@ -74,8 +74,8 @@ export default {
|
||||
},
|
||||
options: [
|
||||
{
|
||||
label: true,
|
||||
value: this.$t('users.needUpdatePasswordNextLogin')
|
||||
label: '',
|
||||
value: true
|
||||
}
|
||||
],
|
||||
hidden: (formValue) => {
|
||||
|
Reference in New Issue
Block a user