riku
2024-10-18 c7bd6db3190ff5c4b55d004db0b9fa944604925f
src/components/table/FYTable.vue
@@ -91,7 +91,7 @@
      fontSize: 'default'
    };
  },
  emits: ['search', 'cellClick', 'tablePaste'],
  emits: ['search', 'cellClick', 'tablePaste', 'sortChange'],
  watch: {
    currentPage(nValue, oValue) {
      if (nValue != oValue) {
@@ -177,11 +177,14 @@
    handlePaste(event) {
      this.$emit('tablePaste', event);
    },
    doLayout(){
    doLayout() {
      this.$refs.tableRef.doLayout();
    },
    handleSortChange({column, prop, order }){
    handleSortChange({ column, prop, order }) {
      this.$emit('sortChange', { column, prop, order });
    },
    clearSort(){
      this.$refs.tableRef.clearSort();
    }
  },
  mounted() {