ol-base-components 3.3.9 → 3.3.10
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
|
@@ -533,8 +533,7 @@ export default {
|
|
|
533
533
|
|
|
534
534
|
Object.keys(swaggerColumns).forEach(key => {
|
|
535
535
|
const item = swaggerColumns[key];
|
|
536
|
-
|
|
537
|
-
if (!existingColumn && item.description) {
|
|
536
|
+
if (item.description) {
|
|
538
537
|
const obj = {
|
|
539
538
|
prop: key,
|
|
540
539
|
label: item.description,
|
|
@@ -551,7 +550,8 @@ export default {
|
|
|
551
550
|
if (item.type === "boolean") {
|
|
552
551
|
obj.prop = `${key}Text`;
|
|
553
552
|
}
|
|
554
|
-
this.tableData.columns.
|
|
553
|
+
if (!this.findColumnByProp(this.tableData.columns, obj.prop))
|
|
554
|
+
this.tableData.columns.push(obj);
|
|
555
555
|
}
|
|
556
556
|
});
|
|
557
557
|
// 根据beforeProp排序
|