jufubao-food 1.0.15-beta7 → 1.0.15-beta8
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
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
this.brand_id = options.brand_id;
|
|
440
440
|
if(this.resource_shop_id){
|
|
441
441
|
this.p_getFoodShopDetail(this.resource_shop_id);
|
|
442
|
-
}else if(this.brand_id){
|
|
442
|
+
}else if(this.brand_id || this.$configProject['isPreview']){
|
|
443
443
|
this.p_getFoodShopList();
|
|
444
444
|
}
|
|
445
445
|
},
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
})
|
|
597
597
|
},
|
|
598
598
|
p_getFoodShopDetail(resource_shop_id){
|
|
599
|
-
let curShop = this.shopList[this.curShopIndex];
|
|
599
|
+
let curShop = this.shopList[this.curShopIndex]||{};
|
|
600
600
|
jfbRootExec("getFoodShopDetail", {
|
|
601
601
|
vm: this,
|
|
602
602
|
data: {
|