fix(system_user): 修复系统用户创建/更新页面认证信息字段显示隐藏问题

This commit is contained in:
Bai
2020-07-08 14:57:46 +08:00
parent 50482d5d8b
commit d94b3c9fc9

View File

@@ -47,12 +47,7 @@ export default {
if (form.login_mode !== 'auto') {
return true
}
if (!form.auto_push) {
return false
}
if (form.auto_generate_key) {
return true
}
return form.auto_generate_key === true
}
},
username_same_with_user: {
@@ -73,9 +68,6 @@ export default {
if (form.login_mode !== 'auto') {
return true
}
if (!form.auto_push) {
return true
}
}
},
protocol: {
@@ -127,9 +119,6 @@ export default {
if (form.login_mode !== 'auto') {
return true
}
if (!form.auto_push) {
return false
}
return form.auto_generate_key === true
}
},