refactor: 优化按钮位置

This commit is contained in:
wxg0103 2024-11-22 17:05:18 +08:00
parent cbe044310e
commit b931fbd7ab

View File

@ -48,12 +48,12 @@
$t('login.ldap.enableAuthentication') $t('login.ldap.enableAuthentication')
}}</el-checkbox> }}</el-checkbox>
</el-form-item> </el-form-item>
<el-button @click="submit(authFormRef, 'test')" :disabled="loading">
{{ $t('login.ldap.test') }}</el-button
>
</el-form> </el-form>
<div class="text-right"> <div class="text-right">
<el-button @click="submit(authFormRef, 'test')" :disabled="loading">
{{ $t('login.ldap.test') }}</el-button
>
<el-button @click="submit(authFormRef)" type="primary" :disabled="loading"> <el-button @click="submit(authFormRef)" type="primary" :disabled="loading">
{{ $t('login.ldap.save') }} {{ $t('login.ldap.save') }}
</el-button> </el-button>