jufubao-food 1.0.15-beta17 → 1.0.15-beta18

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-beta17",
3
+ "version": "1.0.15-beta18",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -455,7 +455,7 @@
455
455
  this.bgColor = this.$colorChange(this.warningColor).alpha(0.1).toString();
456
456
  this.bgColor2 = this.$colorChange(this.mainColor).alpha(0.1).toString();
457
457
 
458
- this.xnamespace = getContainerPropsValue(container, 'content.xnamespace', this.projectAttr.business_code);
458
+ this.xnamespace = getContainerPropsValue(container, 'content.xnamespace', "");
459
459
  this.showBuyer = getContainerPropsValue(container, 'content.showBuyer', "Y");
460
460
  this.showOrderComment = getContainerPropsValue(container, 'content.showOrderComment', "Y");
461
461
  this.payPath = getContainerPropsValue(container, 'content.payPath', { value: "/system/system/pay" }).value;
@@ -223,7 +223,7 @@
223
223
  * @param container {object} 业务组件对象自己
224
224
  */
225
225
  init(container) {
226
- this.xnamespace = gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
226
+ this.xnamespace = gCPVal(container, 'xnamespace', "");
227
227
  this.foodProductListPath = getContainerPropsValue(container, 'content.foodProductListPath', {value: ""}).value;
228
228
  this.shopBtnBgColor = gCPVal(container, 'shopBtnBgColor', this.mainColor, {sKey:'cartBtnStatus',fields:['shopBtnBgColor']});
229
229
  this.showDiscount = gCPVal(container, 'showDiscount', "Y");
@@ -463,7 +463,7 @@
463
463
  * @param container {object} 业务组件对象自己
464
464
  */
465
465
  init(container) {
466
- this.xnamespace = gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
466
+ this.xnamespace = gCPVal(container, 'xnamespace', "");
467
467
  this.foodDetailPath = getContainerPropsValue(container, 'content.foodDetailPath', {value: ""}).value;
468
468
  this.confirmPath = getContainerPropsValue(container, 'content.confirmPath', {value: ""}).value;
469
469
  this.switchStorePath = getContainerPropsValue(container, 'content.switchStorePath', { value: ''}).value;