diff --git a/src/views/system/mail/account/account.data.ts b/src/views/system/mail/account/account.data.ts index dc1657c9c..8bd91dd3a 100644 --- a/src/views/system/mail/account/account.data.ts +++ b/src/views/system/mail/account/account.data.ts @@ -36,6 +36,14 @@ export const columns: BasicColumn[] = [ return useRender.renderDict(text, DICT_TYPE.INFRA_BOOLEAN_STRING) }, }, + { + title: '是否开启 STARTTLS', + dataIndex: 'starttlsEnable', + width: 180, + customRender: ({ text }) => { + return useRender.renderDict(text, DICT_TYPE.INFRA_BOOLEAN_STRING) + } + }, { title: '创建时间', dataIndex: 'createTime', @@ -118,4 +126,14 @@ export const formSchema: FormSchema[] = [ options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'), }, }, + { + label: '是否开启 STARTTLS', + field: 'starttlsEnable', + required: true, + defaultValue: false, + component: 'RadioButtonGroup', + componentProps: { + options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'), + }, + }, ]