diff --git a/src/views/modules/message/SysMessageTemplateList.vue b/src/views/modules/message/SysMessageTemplateList.vue index 2e76da9e..ddda4956 100644 --- a/src/views/modules/message/SysMessageTemplateList.vue +++ b/src/views/modules/message/SysMessageTemplateList.vue @@ -167,21 +167,7 @@ export default { { title: '模板类型', align: 'center', - dataIndex: 'templateType', - customRender: function (text) { - if ((text + '') === '1') { - return '短信' - } - if ((text + '') === '2') { - return '邮件' - } - if ((text + '') === '3') { - return '微信' - } - if ((text + '') === '4') { - return '系统' - } - } + dataIndex: 'templateType_dictText' }, { title: '操作',