2912631854@qq.com 1 éve
szülő
commit
ac4c742a0d
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      pagesMy/stayInfo/roomPosition.vue

+ 7 - 0
pagesMy/stayInfo/roomPosition.vue

@@ -180,6 +180,7 @@
 				// 	this.$showToast('请输入正确手机号');
 				// 	return
 				// }
+				this.stayInfo.introduction = null
 				this.stayInfo.picList = [];
 				this.imgUrlList.forEach((i) => {
 					if (i.url) {
@@ -188,6 +189,12 @@
 				})
 				this.$api.post('/merchant/hotel/mine/updMHomestayInfo', this.stayInfo).then(res => {
 					console.log(res)
+					if (res.data.code == 0) {
+						this.$showToast('保存成功');
+						// setTimeout(() => {
+						// 	this.getStayInfo()
+						// }, 1000)
+					} else this.$showToast(res.data.msg);
 				})
 			},
 			// 删除图片