From 8d86bc262c9a8803ac7a240f296147e2eb327a0c Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Mon, 25 Mar 2024 23:49:36 +0800 Subject: [PATCH] 1 --- pages/shop/shop.vue | 3 ++- pages/shop/shop1.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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