17755135699 1 year ago
parent
commit
a3eca2e229
1 changed files with 4 additions and 0 deletions
  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){