bri-components 1.3.3 → 1.3.4

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": "bri-components",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -191,7 +191,11 @@ export default {
191
191
  const parameterTypeName = (this.parameterPropsObj._data.find(parameterTypeItem => parameterTypeItem._key === parameterType) || { name: `${parameterType}不存在` }).name;
192
192
 
193
193
  const operators = fieldData[!dynamicList.length && ["set"].includes(this.mode) ? "operatorsSet" : "operators"] || fieldData.operators || [];
194
- const fieldOperator = initContion.fieldOperator || (["reference"].includes(fieldType) ? "eq" : (operators[0] || {})._key);
194
+ const fieldOperator = initContion.fieldOperator || (
195
+ ["reference"].includes(fieldType) && !["set"].includes(this.mode)
196
+ ? "eq"
197
+ : (operators[0] || {})._key
198
+ );
195
199
  const fieldOperatorName = (operators.find(operatorItem => operatorItem._key === fieldOperator) || { name: `${fieldOperator}不存在` }).name;
196
200
 
197
201
  return {
@@ -341,7 +345,7 @@ export default {
341
345
  : item[key]
342
346
  )
343
347
  : item[key]
344
- }), {})
348
+ }), {})
345
349
  );
346
350
  };
347
351