linkmore-design 1.1.26 → 1.1.27

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/dist/index.umd.js CHANGED
@@ -92885,7 +92885,12 @@
92885
92885
  fieldType: (item === null || item === void 0 ? void 0 : item.valueType) || 'string',
92886
92886
  type: item.type,
92887
92887
  value: Array.isArray(itemValue) ? itemValue : [itemValue],
92888
- operator: (item === null || item === void 0 ? void 0 : item.operator) || obj[cur].mode === 'and' ? 'equal' : 'contains'
92888
+
92889
+ /**
92890
+ * and 等同于逻辑关系contains: 选中的值包含所有值
92891
+ * or 等同于逻辑关系in: 选中的值存在于所有值之中
92892
+ */
92893
+ operator: obj[cur].mode === 'and' ? 'contains' : 'in'
92889
92894
  }]);
92890
92895
  }
92891
92896
 
@@ -93055,7 +93060,7 @@
93055
93060
  fieldType: (item === null || item === void 0 ? void 0 : item.valueType) || 'string',
93056
93061
  type: item.type,
93057
93062
  value: Array.isArray(itemValue) ? itemValue : [itemValue],
93058
- operator: complexFilter[cur].mode === 'and' ? 'equal' : 'contains'
93063
+ operator: complexFilter[cur].mode === 'and' ? 'contains' : 'in'
93059
93064
  };
93060
93065
  }
93061
93066