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
|
@@ -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 +
|
|
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,
|