Commit 8fb5b8834c041dd13169c7ee7014577b6b5dcddf

Authored by zhiyangdu
1 parent 764f161f

app拉起

src/pages/goodDetails/goodDetails.vue
... ... @@ -386,11 +386,11 @@ export default {
386 386 mounted () {
387 387 // 如果是App外,设置唤起App和微信内分享参数
388 388 if (!this.isCNLive.value) {
389   - // 设置分享详情页唤起参数
390   - if (typeof this.$parent.getShareData === "function") {
391   - this.$parent.getShareData({
  389 + // 设置积分首页唤起app参数
  390 + if (typeof this.$parent.getOpenApp === "function") {
  391 + this.$parent.getOpenApp({
392 392 type: 46,
393   - id: this.$route.query.id,
  393 + id: this.$route.query.goodsId,
394 394 url: ""
395 395 });
396 396 }
... ...
src/pages/pointsMall/pointsMall.vue
... ... @@ -368,12 +368,11 @@ export default {
368 368 mounted () {
369 369 // 如果是App外,设置唤起App和微信内分享参数
370 370 if (!this.isCNLive.value) {
371   -
372 371 // 设置积分首页唤起app参数
373 372 if (typeof this.$parent.getOpenApp === "function") {
374 373 this.$parent.getOpenApp({
375 374 type: 45,
376   - id: "",
  375 + id: 1,
377 376 url: ""
378 377 });
379 378 }
... ...