Explorar o código

feat: 订单bug

2912631854@qq.com hai 1 ano
pai
achega
ac4c742a0d
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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);
 				})
 			},
 			// 删除图片