【功能优化】SYSTEM:邮箱配置,增加 starttlsEnable 开关
parent
09d3fac3d3
commit
00f39d38c7
|
@ -36,6 +36,14 @@ export const columns: BasicColumn[] = [
|
||||||
return useRender.renderDict(text, DICT_TYPE.INFRA_BOOLEAN_STRING)
|
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: '创建时间',
|
title: '创建时间',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
|
@ -118,4 +126,14 @@ export const formSchema: FormSchema[] = [
|
||||||
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'),
|
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'),
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue