diff --git a/src/views/system/mail/account/account.data.ts b/src/views/system/mail/account/account.data.ts index e40ef1f5..69364b51 100644 --- a/src/views/system/mail/account/account.data.ts +++ b/src/views/system/mail/account/account.data.ts @@ -100,6 +100,8 @@ export const formSchema: FormSchema[] = [ { label: '是否开启 SSL', field: 'sslEnable', + required: true, + defaultValue: false, component: 'Switch', componentProps: { options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean')