From 001e703b7516eeba8327cf91e8461c5448b1da51 Mon Sep 17 00:00:00 2001 From: sszdot Date: Tue, 17 Dec 2024 15:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9Auniapp=E7=BC=96=E8=AF=91=E5=99=A8=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=80=A0=E6=88=90=E7=9A=84=20=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E4=B8=AD=E5=8F=82=E6=95=B0=E5=8F=98=E9=87=8F=E7=9A=84=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=94=99=E8=AF=AF=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B?= =?UTF-8?q?=E3=80=91=EF=BC=9A=E5=BC=BA=E5=88=B6=E8=BD=ACString=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- App.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index 63c8810..369f5f1 100644 --- a/App.vue +++ b/App.vue @@ -3,10 +3,8 @@ // 数据初始化 onLaunch: function(options) { //从二维码获取站点id 商铺id - // this.$store.commit('setShopId', options.query.s); - // this.$store.commit('setSiteId', options.query.z); - this.$store.commit('setShopId', '2dc23dcfecc05fb1'); - this.$store.commit('setSiteId', '13'); + this.$store.commit('setShopId', String(options.query.s)); + this.$store.commit('setSiteId', String(options.query.z)); //异步加载商铺信息 this.$store.dispatch('fetchShopCon') //异步加载站点列表