修复:高级表格部分api默认值错误问题;🐛

fix: wrong default value of some api about AdvanceTable.vue;
master
chenghongxing 4 years ago
parent e661ae0813
commit c2915c93d3
  1. 6
      src/components/table/advance/AdvanceTable.vue

@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<a-table <a-table
v-bind="{...this.$props, columns: visibleColumns, title: undefined, loading: false}" v-bind="{...$props, columns: visibleColumns, title: undefined, loading: false}"
:size="sSize" :size="sSize"
@expandedRowsChange="onExpandedRowsChange" @expandedRowsChange="onExpandedRowsChange"
@change="onChange" @change="onChange"
@ -62,7 +62,7 @@
props: { props: {
tableLayout: String, tableLayout: String,
bordered: Boolean, bordered: Boolean,
childrenColumnName: Array[String], childrenColumnName: {type: String, default: 'children'},
columns: Array, columns: Array,
components: Object, components: Object,
dataSource: Array, dataSource: Array,
@ -81,7 +81,7 @@
rowKey: [String, Function], rowKey: [String, Function],
rowSelection: Object, rowSelection: Object,
scroll: Object, scroll: Object,
showHeader: Boolean, showHeader: {type: Boolean, default: true},
size: String, size: String,
title: String, title: String,
customHeaderRow: Function, customHeaderRow: Function,

Loading…
Cancel
Save