jufubao-food 1.0.15-beta13 → 1.0.15-beta14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-food",
3
- "version": "1.0.15-beta13",
3
+ "version": "1.0.15-beta14",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -559,8 +559,11 @@
559
559
  let curPage = this.$xdUniHelper.getCurrentPages();
560
560
  let query = {...curPage.query};
561
561
  let callback= Base64.encode(curPage.path + '?' + this.$xdUniHelper.jsonToParams(query));
562
+ let linkQuery = '?brand_id=' + (this.brand_id || this.shopInfo.brand_id);
563
+ let rShopId = this.shopInfo.resource_shop_id || this.resource_shop_id;
564
+ linkQuery = rShopId ? linkQuery + '&resource_shop_id=' + rShopId : linkQuery;
562
565
  this.$xdUniHelper.redirectTo({
563
- url: this.switchStorePath + '?brand_id=' + (this.brand_id || this.shopInfo.brand_id) + '&callback=' + callback
566
+ url: this.switchStorePath + linkQuery + '&callback=' + callback
564
567
  })
565
568
  // this.$xdUniHelper.navigateTo({
566
569
  // url: this.switchStorePath + "?brand_id=" + this.brand_id + "&resource_shop_id=" + this.resource_shop_id,