pull/12/head
xiaozhiyong 2 years ago
parent 587632c97b
commit 66f240e424
  1. 12
      AppletCode/pages/index/index.vue

@ -194,17 +194,17 @@
// }) // })
// return // return
// } // }
// this.postData.phone = this.replace.phone; // this.postData.phone = this.replace.phone;
// this.animation = true; // this.animation = true;
// this.postData.name = ''; // this.postData.name = '';
// this.postData.remark = ''; // this.postData.remark = '';
// this.postData.plateNumber = ''; // this.postData.plateNumber = '';
wxcode.checkCodeWithDel({ wxcode.checkCodeWithDel({
code:this.replace.verification, code: this.replace.verification,
verifyCodeToken:this.replace.token verifyCodeToken: this.replace.token
}).then(res=>{ }).then(res => {
if(res.code==20000){ if (res.code == 20000) {
uni.showToast({ uni.showToast({
title: '更换成功', title: '更换成功',
icon: 'success' icon: 'success'
@ -265,7 +265,7 @@
break break
case 'plateNumber': case 'plateNumber':
this.fromStyle.plateNumberType = this.fromStyle.plateNumberType =
/(^[\u4E00-\u9FA5]{1}[A-Z0-9]{6}$)|(^[A-Z]{2}[A-Z0-9]{2}[A-Z0-9\u4E00-\u9FA5]{1}[A-Z0-9]{4}$)|(^[\u4E00-\u9FA5]{1}[A-Z0-9]{5}[挂学警军港澳]{1}$)|(^[A-Z]{2}[0-9]{5}$)|(^(08|38){1}[A-Z0-9]{4}[A-Z0-9挂学警军港澳]{1}$)/ /^([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[a-zA-Z](([DF]((?![IO])[a-zA-Z0-9](?![IO]))[0-9]{4})|([0-9]{5}[DF]))|[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1})$/
.test(this.postData.plateNumber) .test(this.postData.plateNumber)
break break
case 'phone': case 'phone':

Loading…
Cancel
Save