bri-components 1.3.1 → 1.3.2
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
|
@@ -191,7 +191,7 @@ 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 || (operators[0] || {})._key;
|
|
194
|
+
const fieldOperator = initContion.fieldOperator || (["reference"].includes(fieldType) ? "eq" : (operators[0] || {})._key);
|
|
195
195
|
const fieldOperatorName = (operators.find(operatorItem => operatorItem._key === fieldOperator) || { name: `${fieldOperator}不存在` }).name;
|
|
196
196
|
|
|
197
197
|
return {
|
|
@@ -341,7 +341,7 @@ export default {
|
|
|
341
341
|
: item[key]
|
|
342
342
|
)
|
|
343
343
|
: item[key]
|
|
344
|
-
|
|
344
|
+
}), {})
|
|
345
345
|
);
|
|
346
346
|
};
|
|
347
347
|
|