bri-components 1.3.1 → 1.3.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/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
>
|
|
41
41
|
|
|
42
42
|
<slot>
|
|
43
|
-
<div :class="`BriUpload-${showType}-
|
|
43
|
+
<div :class="`BriUpload-${showType}-add`">
|
|
44
44
|
<!-- 上传 -->
|
|
45
45
|
<i-circle
|
|
46
46
|
v-if="percent"
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
&-
|
|
273
|
+
&-add {
|
|
274
274
|
.dsh-flex-col-center-center();
|
|
275
275
|
width: 120px;
|
|
276
276
|
height: 120px;
|
|
@@ -287,12 +287,13 @@
|
|
|
287
287
|
|
|
288
288
|
&-circle {
|
|
289
289
|
position: absolute;
|
|
290
|
-
top:
|
|
291
|
-
left:
|
|
290
|
+
top: 0;
|
|
291
|
+
left: 0;
|
|
292
|
+
bottom: 0;
|
|
293
|
+
right: 0;
|
|
294
|
+
margin: auto;
|
|
292
295
|
width: 50px !important;
|
|
293
296
|
height: 50px !important;
|
|
294
|
-
margin-top: -25px;
|
|
295
|
-
margin-left: -25px;
|
|
296
297
|
border-radius: 50%;
|
|
297
298
|
background-color: @inputBg-readonly;
|
|
298
299
|
|
|
@@ -319,7 +320,7 @@
|
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
|
|
322
|
-
&-
|
|
323
|
+
&-add {
|
|
323
324
|
.dsh-flex-row-center-center();
|
|
324
325
|
height: 30px;
|
|
325
326
|
background-color: @btn-hover;
|
|
@@ -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
|
|