Commit 7c8eb949dd9d0d437c4a191289a31c067456eda8

Authored by 王强
1 parent 8883f31e

购好物,callApp组件,硬写shop_extra参数~

src/components/callAppBox/callAppBox.vue
... ... @@ -57,9 +57,17 @@ export default {
57 57  
58 58 // 判断是否有扩展参数,如果有,拼接扩展参数到原始字符串
59 59 if (this.callApps.funcs.callAppParams.shop_ext) {
60   -
  60 +
  61 + // 判断如果地址栏有shop_extra参数,取地址栏的shop_extra参数进行拼接
  62 + if (this.$route.query.shop_extra) {
  63 +
  64 + // 拼接扩展参数到原始字符串
  65 + shareString += "&shop_extra=" + this.$route.query.shop_extra;
  66 + } else {
  67 +
61 68 // 拼接扩展参数到原始字符串
62 69 shareString += "&shop_extra=" + this.callApps.funcs.callAppParams.shop_ext;
  70 + }
63 71 }
64 72  
65 73 // Base64位编码加密
... ...