市局:城市云脑会客厅--去掉电话必填
This commit is contained in:
parent
58e045e862
commit
251c3d33d6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue