diff --git a/frontend/src/views/panel/template/index.vue b/frontend/src/views/panel/template/index.vue index 01ec18bf26..5c88d5c3cf 100644 --- a/frontend/src/views/panel/template/index.vue +++ b/frontend/src/views/panel/template/index.vue @@ -84,7 +84,8 @@ export default { currentTemplateType: 'system', templateEditFormRules: { name: [ - { required: true, message: this.$t('commons.input_content'), trigger: 'change' } + { required: true, message: this.$t('commons.input_content'), trigger: 'change' }, + { max: 50, message: this.$t('commons.char_can_not_more_50'), trigger: 'change' } ] }, templateEditForm: {},