17755135699 1 年之前
父節點
當前提交
a3eca2e229
共有 1 個文件被更改,包括 4 次插入0 次删除
  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){