From 4c59df63a61e387132bfcc528a2fae62667f80e3 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 31 May 2023 16:31:39 +0800 Subject: [PATCH] fix: SSL required --- src/views/system/mail/account/account.data.ts | 2 ++ 1 file changed, 2 insertions(+) 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')