bxs-tools-ui 3.1.3 → 3.2.0-1

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.
@@ -471,6 +471,8 @@
471
471
  });
472
472
  }
473
473
 
474
+ document && document.cookie && document.cookie.match('ENABLE_LIZHAO_DEBUG=1');
475
+
474
476
  /**
475
477
  * **将对象下的 eleOrderList 数组中的子元素下的 value,转换为 key-value 键值对**
476
478
  * @author Lizhao <lz@winbaoxian.com>
@@ -9103,7 +9105,7 @@
9103
9105
  if (insuranceData.title && !insuranceData.groupKey) {
9104
9106
  if (insuranceData.isGroup) {
9105
9107
  //组合险,则遍历其所选中的险种,并转换数据
9106
- var insuranceId = insuranceData.insuranceId.constructor == Array ? insuranceData.insuranceId : [insuranceData.insuranceId];
9108
+ var insuranceId = Array.isArray(insuranceData.insuranceId) ? insuranceData.insuranceId : [insuranceData.insuranceId];
9107
9109
  insuranceId.forEach(function (insId) {
9108
9110
  var checkedIns = prodData.mulInsOrderList.find(function (p) {
9109
9111
  return p.key === insId;
@@ -9127,10 +9129,6 @@
9127
9129
  return productData;
9128
9130
  }
9129
9131
 
9130
- if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_FLAG=1')) {
9131
- window.DEBUG_TEMP_CONSOLE_FLAG = true;
9132
- }
9133
-
9134
9132
  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
9135
9133
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9136
9134
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }