From 66f240e42438202dc3becaf6fb064ce87456ed4c Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Mon, 14 Aug 2023 14:49:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppletCode/pages/index/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AppletCode/pages/index/index.vue b/AppletCode/pages/index/index.vue index 5dfbdd9..a6342b7 100644 --- a/AppletCode/pages/index/index.vue +++ b/AppletCode/pages/index/index.vue @@ -194,17 +194,17 @@ // }) // return // } - + // this.postData.phone = this.replace.phone; // this.animation = true; // this.postData.name = ''; // this.postData.remark = ''; // this.postData.plateNumber = ''; wxcode.checkCodeWithDel({ - code:this.replace.verification, - verifyCodeToken:this.replace.token - }).then(res=>{ - if(res.code==20000){ + code: this.replace.verification, + verifyCodeToken: this.replace.token + }).then(res => { + if (res.code == 20000) { uni.showToast({ title: '更换成功', icon: 'success' @@ -265,7 +265,7 @@ break case 'plateNumber': 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) break case 'phone':