refactor: 登录默认为普通登录,隐藏普通登录选项

This commit is contained in:
shiziyuan9527 2020-07-28 10:40:21 +08:00
parent 5bf3f355f5
commit 9ee6fc9f0e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<el-form-item v-slot:default> <el-form-item v-slot:default>
<el-radio-group v-model="form.authenticate"> <el-radio-group v-model="form.authenticate">
<el-radio label="LDAP" size="mini" v-if="openLdap">LDAP</el-radio> <el-radio label="LDAP" size="mini" v-if="openLdap">LDAP</el-radio>
<el-radio label="LOCAL" size="mini">普通登录</el-radio> <el-radio label="LOCAL" size="mini" v-if="openLdap">普通登录</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item prop="username"> <el-form-item prop="username">