更新
This commit is contained in:
@@ -201,10 +201,10 @@
|
||||
// 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':
|
||||
|
||||
Reference in New Issue
Block a user