From 33a221dc30224a3631c36d9e11eacc534a2db565 Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 23 Jun 2021 15:43:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=A8=A1=E7=89=88=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B650?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/template/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: {},