cloud-business 0.1.124-2 → 0.1.124-3

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/cloud-business.js CHANGED
@@ -4276,7 +4276,6 @@
4276
4276
  value: array
4277
4277
  };
4278
4278
  array.forEach(function (item) {
4279
- var _semantic$value, _semantic$value2;
4280
4279
  var operator = item.operator,
4281
4280
  fieldName = item.fieldName,
4282
4281
  field = item.field,
@@ -4308,8 +4307,14 @@
4308
4307
  OR: '或',
4309
4308
  AND: '和'
4310
4309
  }[item.multiText] || ',';
4311
- obj.str.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat((_semantic$value = semantic.value) === null || _semantic$value === void 0 ? void 0 : _semantic$value.join(connectSymbol)));
4312
- obj.title.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat((_semantic$value2 = semantic.value) === null || _semantic$value2 === void 0 ? void 0 : _semantic$value2.join(connectSymbol)));
4310
+ if (item.multiText) {
4311
+ var _semantic$value, _semantic$value2;
4312
+ obj.str.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat(semantic === null || semantic === void 0 ? void 0 : (_semantic$value = semantic.value) === null || _semantic$value === void 0 ? void 0 : _semantic$value.join(connectSymbol)));
4313
+ obj.title.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat(semantic === null || semantic === void 0 ? void 0 : (_semantic$value2 = semantic.value) === null || _semantic$value2 === void 0 ? void 0 : _semantic$value2.join(connectSymbol)));
4314
+ } else {
4315
+ obj.str.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat(semantic === null || semantic === void 0 ? void 0 : semantic.join(connectSymbol)));
4316
+ obj.title.push("".concat(fieldName, "\uFF1A").concat(operatorName).concat(semantic === null || semantic === void 0 ? void 0 : semantic.join(connectSymbol)));
4317
+ }
4313
4318
  break;
4314
4319
  default:
4315
4320
  if ([PROD_PRODUCT_ID, PROD_OUTER_ID, SKU_SKU_ID, SKU_OUTER_ID].includes(field) && operator === OPERATOR_STACKS.EQ) {
@@ -146424,7 +146429,7 @@
146424
146429
  }
146425
146430
  // 检验当前运行环境
146426
146431
  if (typeof window === 'undefined') {
146427
- console.warn('cloud-business@0.1.124-2 仅支持在浏览器环境进行使用!');
146432
+ console.warn('cloud-business@0.1.124-3 仅支持在浏览器环境进行使用!');
146428
146433
  }
146429
146434
  var bodys = document.getElementsByTagName('body')[0];
146430
146435
  var colors = [1, 2, 3, 4, 5, 6, 7];
@@ -146434,7 +146439,7 @@
146434
146439
  bodys.style.setProperty("--shuyunBlue".concat(i$2 + 1), color);
146435
146440
  }
146436
146441
  }
146437
- var version = '0.1.124-2';
146442
+ var version = '0.1.124-3';
146438
146443
 
146439
146444
  exports.AreaSelector = AreaSelector;
146440
146445
  exports.AreaSelectorNew = AreaSelector$1;