17755135699 1 anno fa
parent
commit
a3eca2e229
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      pagesMy/stayInfo/stayInfo.vue

+ 4 - 0
pagesMy/stayInfo/stayInfo.vue

@@ -120,6 +120,10 @@
 				})
 			},
 			save(){
+				if(!this.$u.test.mobile(this.stayInfo.landlinePhone)){
+					this.$showToast('请输入正确手机号');
+					return
+				}
 				this.stayInfo.picList=[];
 				this.imgUrlList.forEach((i)=>{
 					if(i.url){