jufubao-base 1.0.134-beta7 → 1.0.134-beta9

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-base",
3
- "version": "1.0.134-beta7",
3
+ "version": "1.0.134-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -600,7 +600,7 @@ export default {
600
600
  }
601
601
 
602
602
  //设置码状态
603
- info.codes = [info.codes[0]]
603
+ //info.codes = [info.codes[0]]
604
604
  info.codes =
605
605
  info.codes &&
606
606
  info.codes.map((item) => {
@@ -636,8 +636,8 @@ export default {
636
636
  jfbRootExec("getMallProductDetail", {
637
637
  vm: this,
638
638
  data: {
639
- xnamespace: "cake" || info.product.business_code,
640
- product_id: 60004641 || info.product.product_id,
639
+ xnamespace: (info.product && info.product.business_code) || 'cake',
640
+ product_id: (info.product && info.product.product_id) || 60004641,
641
641
  },
642
642
  })
643
643
  .then((res) => {