bri-components 1.2.99 → 1.2.101
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
|
@@ -241,29 +241,37 @@
|
|
|
241
241
|
];
|
|
242
242
|
},
|
|
243
243
|
renderHeaderCell: ({ column }, h) => {
|
|
244
|
-
return h("span",
|
|
244
|
+
return h("span", {
|
|
245
|
+
style: {
|
|
246
|
+
position: "relative"
|
|
247
|
+
}
|
|
248
|
+
}, [
|
|
245
249
|
column._required && h("i", {
|
|
246
250
|
style: {
|
|
251
|
+
position: "absolute",
|
|
252
|
+
top: "2px",
|
|
253
|
+
left: "-10px",
|
|
247
254
|
color: "#ed4014"
|
|
248
255
|
}
|
|
249
256
|
}, "*"),
|
|
257
|
+
|
|
250
258
|
h("span", column.title),
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
259
|
+
|
|
260
|
+
column._description && h("Tooltip", {
|
|
261
|
+
style: {
|
|
262
|
+
display: "inline-block"
|
|
263
|
+
},
|
|
264
|
+
props: {
|
|
265
|
+
content: column._description,
|
|
266
|
+
transfer: true,
|
|
267
|
+
maxWidth: 200
|
|
268
|
+
},
|
|
269
|
+
scopedSlots: {
|
|
270
|
+
default: props => h("i", {
|
|
271
|
+
class: "table-head-description ivu-icon bico-font bico-explain"
|
|
272
|
+
})
|
|
273
|
+
}
|
|
274
|
+
})
|
|
267
275
|
]);
|
|
268
276
|
},
|
|
269
277
|
...item
|
|
@@ -545,7 +545,9 @@
|
|
|
545
545
|
.replace(/\n/g, "")
|
|
546
546
|
.split(";")
|
|
547
547
|
.reduce((arr, item) => arr.concat(item.split(";")), [])[rowIndex];
|
|
548
|
-
|
|
548
|
+
}
|
|
549
|
+
if (col._regMessage && [";", ";"].some(symbol => col._regMessage.includes(symbol))) {
|
|
550
|
+
col._regMessage = col._regMessage
|
|
549
551
|
.replace(/\n/g, "")
|
|
550
552
|
.split(";")
|
|
551
553
|
.reduce((arr, item) => arr.concat(item.split(";")), [])[rowIndex];
|