17755135699 před 1 rokem
rodič
revize
a3eca2e229
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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){