fix(系统设置): 修改模板管理缺陷创建名称校验问题

This commit is contained in:
xinxin.wu 2024-05-27 19:52:06 +08:00 committed by Craftsman
parent ef29029d46
commit c792eb55e2
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<a-form ref="viewFormRef" class="rounded-[4px]" :model="viewForm" layout="vertical"> <a-form ref="viewFormRef" class="rounded-[4px]" :model="viewForm" layout="vertical">
<a-form-item <a-form-item
field="caseName" field="name"
:label="t('system.orgTemplate.caseName')" :label="t('system.orgTemplate.caseName')"
:rules="[{ required: true, message: t('system.orgTemplate.caseNamePlaceholder') }]" :rules="[{ required: true, message: t('system.orgTemplate.caseNamePlaceholder') }]"
required required

View File

@ -1,10 +1,9 @@
<template> <template>
<a-form ref="viewFormRef" class="rounded-[4px]" :model="viewForm" layout="vertical"> <a-form ref="viewFormRef" class="rounded-[4px]" :model="viewForm" layout="vertical">
<a-form-item <a-form-item
field="defectName" field="name"
:label="t('system.orgTemplate.defectName')" :label="t('system.orgTemplate.defectName')"
:rules="[{ required: true, message: t('system.orgTemplate.defectNamePlaceholder') }]" :rules="[{ required: true, message: t('system.orgTemplate.defectNamePlaceholder') }]"
required
asterisk-position="end" asterisk-position="end"
> >
<a-input <a-input