【优化】用户添加地址内详细地址从30字符限制调整为50字符限制。

This commit is contained in:
大灰灰
2022-08-01 21:01:34 +08:00
parent dfa5d5f49c
commit 5d4a00b833

View File

@@ -26,7 +26,7 @@
<u-input :value="pickerValue" type="select" disabled placeholder="请选择省市区区域">
<template slot="suffix">
<!--<u-button text="请选择" type="success" size="mini" @click="toMap"></u-button>-->
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
</template>
</u-input>
<!-- #endif -->
@@ -34,20 +34,26 @@
<u--input :value="pickerValue" type="select" disabled placeholder="请选择省市区区域">
<template slot="suffix">
<!--<u-button text="请选择" type="success" size="mini" @click="toMap"></u-button>-->
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
</template>
</u--input>
<!-- #endif -->
</u-form-item>
<u-form-item label="街道社区" borderBottom @click="toMap">
<u-form-item label="街道社区" borderBottom @click="toMap">
<!-- 注意由于兼容性差异如果需要使用前后插槽nvue下需使用u--input非nvue下需使用u-input -->
<!-- #ifndef APP-NVUE -->
<u-input :value="form.street" type="text" disabled placeholder="请定位">
<template slot="suffix">
<u-button text="请选择" type="success" size="mini"></u-button>
</template>
</u-input>
<!-- #endif -->
<!-- #ifdef APP-NVUE -->
<u--input :value="form.street" type="text" disabled placeholder="请定位">
<template slot="suffix">
<u-button text="请选择" type="success" size="mini"></u-button>
</template>
</u--input>
<!-- #endif -->
</u-form-item>
@@ -128,8 +134,8 @@
},
{
min: 5,
max: 30,
message: '地址长度在5到30个字符',
max: 50,
message: '地址长度在5到50个字符',
trigger: ['change', 'blur'],
}
],