市局:城市云脑会客厅--去掉电话必填

This commit is contained in:
guoyue 2022-10-03 17:23:12 +08:00
parent 58e045e862
commit 251c3d33d6
1 changed files with 8 additions and 8 deletions

View File

@ -330,11 +330,11 @@
<a-input v-model:value="formState.name" style="width: 72%" />
</a-form-item>
</a-col>
<!-- v-bind="validateInfos.phone" -->
<a-col :span="8">
<a-form-item
name="phone"
label="联系电话"
v-bind="validateInfos.phone"
>
<a-input v-model:value="formState.phone" style="width: 72%" />
</a-form-item>
@ -852,13 +852,13 @@
},
],
matter: [{ min: 1, max: 500, required: true, message: '可输入500字内容' }],
phone: [
{
required: true,
pattern: /^1[3|4|5|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号',
},
],
// phone: [
// {
// required: true,
// pattern: /^1[3|4|5|7|8|9][0-9]\d{8}$/,
// message: '',
// },
// ],
dept: [
{
required: true,