【类 型】:fix
【原 因】:uniapp编译器版本造成的 二维码中参数变量的类型错误 【过 程】:强制转String类型 【影 响】: # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
bd01b17c24
commit
001e703b75
6
App.vue
6
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')
|
||||
//异步加载站点列表
|
||||
|
Loading…
Reference in New Issue
Block a user