fix(评审): 创建评审名称必填提示

This commit is contained in:
baiqi 2024-08-21 14:29:13 +08:00 committed by Craftsman
parent 325790cf88
commit 53f554cf4b
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@
<a-form-item <a-form-item
field="name" field="name"
:label="t('caseManagement.caseReview.reviewName')" :label="t('caseManagement.caseReview.reviewName')"
:rules="[{ validator: validateName }]" :rules="[
{ required: true, message: t('caseManagement.caseReview.reviewNameRequired') },
{ validator: validateName },
]"
asterisk-position="end" asterisk-position="end"
required required
> >