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

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