cellClick(row, column, cell)"
- @sort-change="(sort: any) => onTableSortChange(sort)" @selection-change="onDataSelectionChange"
- :data="datas" size="small" :max-height="tableHeight" v-loading="loading" element-loading-text="查询中..."
- :empty-text="emptyText" highlight-current-row stripe border class="mt5">
+ @sort-change="(sort: any) => onTableSortChange(sort)" @selection-change="onDataSelectionChange" :data="datas"
+ size="small" :max-height="tableHeight" v-loading="loading" element-loading-text="查询中..." :empty-text="emptyText"
+ highlight-current-row stripe border class="mt5">
-
-
-
- {{ getColumnTip(item) }}
- {{ item }}
-
-
-
+
+
+
+
+
+ {{ getColumnTip(item) }}
+ {{ item.columnName }}
+
+
+
+
+
@@ -45,8 +49,8 @@ const props = defineProps({
data: {
type: Array,
},
- columnNames: {
- type: Array,
+ columns: {
+ type: Array