src/components/table/FYTable.vue
@@ -28,7 +28,7 @@ <slot name="options-expand2"></slot> </div> <el-table id="fyTable" v-bind="$attrs" ref="tableRef" :data="tableData" v-loading="loading" @@ -40,6 +40,7 @@ :cell-class-name="cellClassName" @paste="handlePaste" @sort-change="handleSortChange" :show-overflow-tooltip="true" border > <slot name="table-column" :size="fontSize"></slot> @@ -219,7 +220,7 @@ mounted() { this.tableHeight = this.calcTableHeight(); this.onSearch(); } }, }; </script>