gcz il y a 4 ans
Parent
commit
19aea689e5
2 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 1 2
      pages/usercenter/addrs/addrs.vue
  2. 1 1
      unpackage/dist/build/h5/index.html

+ 1 - 2
pages/usercenter/addrs/addrs.vue

@@ -172,7 +172,7 @@
 					detailAddress: "",					
 				},
 				rules: {
-					name: {rule: /^[\u4E00-\u9FA5]{2,4}$/,msg: "姓名2到4位汉字"},
+					name: {rule: /^.{1,20}$/,msg: "请填写姓名(1-20个字符)"},
 					province: {rule: /\S/,msg: "请填写必要内容"},
 					city: {rule: /\S/,msg: "请填写必要内容"},
 					region: {rule: /\S/,msg: "请填写必要内容"},
@@ -216,7 +216,6 @@
 
 		},
 		onUnload() {
-			console.log('1111111111111');
 			this.isselectAddr = false;
 			uni.setStorage({
 				key:'selectAddr',

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
unpackage/dist/build/h5/index.html