【功能优化】SYSTEM:邮箱配置,增加 starttlsEnable 开关

pull/43/head
YunaiV 2024-07-27 22:39:29 +08:00
parent 09d3fac3d3
commit 00f39d38c7
1 changed files with 18 additions and 0 deletions

View File

@ -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'),
},
},
]