邹能昇 4 months ago
parent
commit
8faf18fa92

+ 1 - 1
nova-tourism/pages/homestay/homestay-detail/index.js

@@ -187,7 +187,7 @@ Page({
         this.setData({
         this.setData({
             imageUrls:storeList[0].image
             imageUrls:storeList[0].image
         })
         })
-        // this.Getlocation()
+        this.Getlocation()
         console.log(this.data.storeList);
         console.log(this.data.storeList);
     },
     },
     //获取房间信息
     //获取房间信息

+ 5 - 5
nova-tourism/pages/my/merchant/merchant-home/account/index.js

@@ -141,11 +141,11 @@ Page({
         if (this.data.locations) {
         if (this.data.locations) {
             ShopStore.set("location", this.data.locations)
             ShopStore.set("location", this.data.locations)
         } else {
         } else {
-            // wx.showToast({
-            //     title: '请选择民宿地址',
-            //     icon: 'none'
-            // })
-            // return
+            wx.showToast({
+                title: '请选择民宿地址',
+                icon: 'none'
+            })
+            return
         }
         }
         ShopStore.set("storeName", this.data.storeName)
         ShopStore.set("storeName", this.data.storeName)
         if (Number(this.data.perCapita)) {
         if (Number(this.data.perCapita)) {