Riku
2024-09-28 dad10a883e2995704b17132f50474107f5a45a9a
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) {
@@ -181,7 +181,10 @@
      this.$refs.tableRef.doLayout();
    },
    handleSortChange({column, prop, order }){
      this.$emit('sortChange', { column, prop, order });
    },
    clearSort(){
      this.$refs.tableRef.clearSort();
    }
  },
  mounted() {