diff --git a/pages/shop/shop.vue b/pages/shop/shop.vue index 661461c..d154f88 100644 --- a/pages/shop/shop.vue +++ b/pages/shop/shop.vue @@ -200,7 +200,7 @@ onLoad: function(options) { console.log(this.basePicPath) this.getStoreType(); - this.storeMerchantList('') + }, onReady() { }, @@ -274,6 +274,7 @@ this.latitude = res.latitude this.longitude = res.longitude console.log(res) + this.storeMerchantList('') getGeocoder({ lat: latitude, long: longitude diff --git a/pages/shop/shop1.vue b/pages/shop/shop1.vue index 0fe6470..83400f2 100644 --- a/pages/shop/shop1.vue +++ b/pages/shop/shop1.vue @@ -200,7 +200,7 @@ onLoad: function(options) { this.getStoreType(); - this.storeMerchantList('') + }, onReady() { }, @@ -274,6 +274,7 @@ this.latitude = res.latitude this.longitude = res.longitude console.log(res) + this.storeMerchantList('') getGeocoder({ lat: latitude, long: longitude