Commit 6dd0beb46d7079c874e6002b55a294a1d4b5aef6
1 parent
6b31a5fc
fixbug【周到安排小程序,198的电话无法下单和添加联系人】https://www.tapd.cn/57419716/bugtrace/bugs/view?…
…bug_id=1157419716001003607
Showing
3 changed files
with
4 additions
and
4 deletions
| @@ -91,7 +91,7 @@ Page({ | @@ -91,7 +91,7 @@ Page({ | ||
| 91 | } else { | 91 | } else { |
| 92 | if(key=='phone'){ | 92 | if(key=='phone'){ |
| 93 | console.log('key',key) | 93 | console.log('key',key) |
| 94 | - let myreg=/^[1][3,4,5,7,8][0-9]{9}$/; | 94 | + let myreg=/^[1][3-9][0-9]{9}$/; |
| 95 | if(!myreg.test(util.val(e))){ | 95 | if(!myreg.test(util.val(e))){ |
| 96 | return util.val(e); | 96 | return util.val(e); |
| 97 | } | 97 | } |
| @@ -114,7 +114,7 @@ Page({ | @@ -114,7 +114,7 @@ Page({ | ||
| 114 | val = util.attr(e, 'val'); | 114 | val = util.attr(e, 'val'); |
| 115 | } else { | 115 | } else { |
| 116 | if(key=='phone'){ | 116 | if(key=='phone'){ |
| 117 | - let myreg=/^[1][3,4,5,7,8][0-9]{9}$/; | 117 | + let myreg=/^[1][3-9][0-9]{9}$/; |
| 118 | if(!myreg.test(util.val(e))){ | 118 | if(!myreg.test(util.val(e))){ |
| 119 | return util.val(e); | 119 | return util.val(e); |
| 120 | } | 120 | } |
| @@ -17,7 +17,6 @@ | @@ -17,7 +17,6 @@ | ||
| 17 | "checkInvalidKey": true, | 17 | "checkInvalidKey": true, |
| 18 | "checkSiteMap": true, | 18 | "checkSiteMap": true, |
| 19 | "uploadWithSourceMap": true, | 19 | "uploadWithSourceMap": true, |
| 20 | - "useMultiFrameRuntime": false, | ||
| 21 | "babelSetting": { | 20 | "babelSetting": { |
| 22 | "ignore": [], | 21 | "ignore": [], |
| 23 | "disablePlugins": [], | 22 | "disablePlugins": [], |
| @@ -27,7 +26,8 @@ | @@ -27,7 +26,8 @@ | ||
| 27 | "useCompilerModule": true, | 26 | "useCompilerModule": true, |
| 28 | "userConfirmedUseCompilerModuleSwitch": false, | 27 | "userConfirmedUseCompilerModuleSwitch": false, |
| 29 | "packNpmManually": false, | 28 | "packNpmManually": false, |
| 30 | - "packNpmRelationList": [] | 29 | + "packNpmRelationList": [], |
| 30 | + "useMultiFrameRuntime": false | ||
| 31 | }, | 31 | }, |
| 32 | "compileType": "miniprogram", | 32 | "compileType": "miniprogram", |
| 33 | "libVersion": "2.10.1", | 33 | "libVersion": "2.10.1", |
-
Please register or login to post a comment