提交 ee1fee1c949048a5b71fa936f2180d79b5f06d19

作者 guomingshu
1 个父辈 7130eadf

feat: fix bug

@@ -41,13 +41,13 @@ @@ -41,13 +41,13 @@
41 /> 41 />
42 <u-button 42 <u-button
43 type="default" 43 type="default"
44 - size="mini"  
45 slot="right" 44 slot="right"
46 :hair-line="false" 45 :hair-line="false"
47 :custom-style="{ 46 :custom-style="{
48 color: 'var(--primary-color)', 47 color: 'var(--primary-color)',
49 border: 'none', 48 border: 'none',
50 fontSize: '30rpx', 49 fontSize: '30rpx',
  50 + width: '240rpx',
51 }" 51 }"
52 @click="getCode" 52 @click="getCode"
53 > 53 >
@@ -234,7 +234,7 @@ export default { @@ -234,7 +234,7 @@ export default {
234 getCode() { 234 getCode() {
235 const { mobile = "" } = this.form; 235 const { mobile = "" } = this.form;
236 236
237 - if (!(mobile && /^1[0-9]{10}$/.test(mobile))) { 237 + if (!(mobile && /^1[3456789]\d{9}$/.test(mobile))) {
238 this.$refs.uToast.show({ 238 this.$refs.uToast.show({
239 message: "请填写正确手机号", 239 message: "请填写正确手机号",
240 type: "error", 240 type: "error",
注册登录 后发表评论