From 18eee6f8818b864d1f8d8fb56298620921f909e4 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期五, 15 十一月 2024 15:49:24 +0800 Subject: [PATCH] bug修改,图片选择组件使用,撤回审核功能 --- src/components/table/FYTable.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/table/FYTable.vue b/src/components/table/FYTable.vue index 42c7a99..3e5da08 100644 --- a/src/components/table/FYTable.vue +++ b/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() { -- Gitblit v1.9.3