From 9bfb233270ae7b9119b257c98aa0420754d1b01b Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 21 Oct 2024 15:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=BB=93=E9=A2=98=E5=9E=8B=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dictionary/template/components/CriterionQuestionForm.vue | 4 ++-- src/views/dictionary/template/components/TableQsForm.vue | 4 ++-- .../setting/reading-unit/components/QuestionsForm.vue | 4 ++-- .../setting/reading-unit/components/TableQsForm.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue index d3123e27..4e587b1a 100644 --- a/src/views/dictionary/template/components/CriterionQuestionForm.vue +++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue @@ -51,7 +51,7 @@ prop="QuestionName" :rules="[ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }, - { max: form.Type === 'summary' ? 500 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 500 : 100}` } + { max: form.Type === 'summary' ? 300 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 300 : 100}` } ]" > @@ -62,7 +62,7 @@ label="问题名称(EN)" prop="QuestionEnName" :rules="[ - { max: form.Type === 'summary' ? 500 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 500 : 100}` } + { max: form.Type === 'summary' ? 300 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 300 : 100}` } ]" > diff --git a/src/views/dictionary/template/components/TableQsForm.vue b/src/views/dictionary/template/components/TableQsForm.vue index 3529de9f..d72a3e43 100644 --- a/src/views/dictionary/template/components/TableQsForm.vue +++ b/src/views/dictionary/template/components/TableQsForm.vue @@ -30,7 +30,7 @@ prop="QuestionName" :rules="[ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }, - { max: form.Type === 'summary' ? 500 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 500 : 100}` } + { max: form.Type === 'summary' ? 300 : 100, message: `${this.$t('common:ruleMessage:maxLength')} ${form.Type === 'summary' ? 300 : 100}` } ]" >