fix: Unable to validate LDAP form

This commit is contained in:
fit2cloud-chenyw
2025-12-29 17:01:49 +08:00
committed by fit2cloud-chenyw
parent 8d75f93299
commit 21a707d6c3
@@ -254,7 +254,7 @@ defineExpose({
<template #footer>
<span class="dialog-footer">
<el-button secondary @click="resetForm(ldapForm)">{{ t('common.cancel') }}</el-button>
<el-button secondary :disabled="!state.form.addr" @click="validate">
<el-button secondary :disabled="!state.form.server_address" @click="validate">
{{ t('ds.test_connection') }}
</el-button>
<el-button type="primary" @click="submitForm(ldapForm)">