From 6561ca6ee779b3df9d6be4bee167316e263ab3ba Mon Sep 17 00:00:00 2001 From: teukkk Date: Fri, 21 Jun 2024 14:37:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=89=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E6=8E=92=E5=BA=8F=E6=97=B6=EF=BC=8CdraggableCondition?= =?UTF-8?q?=E7=94=B1false=E5=8F=98true=E8=BF=98=E6=98=BE=E7=A4=BA=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E6=8C=89=E9=92=AE=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1042783 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001042783 --- frontend/src/components/pure/ms-table/useTable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/pure/ms-table/useTable.ts b/frontend/src/components/pure/ms-table/useTable.ts index 51509b7412..0f4e12b11a 100644 --- a/frontend/src/components/pure/ms-table/useTable.ts +++ b/frontend/src/components/pure/ms-table/useTable.ts @@ -381,7 +381,7 @@ export default function useTableProps( watch( () => props?.draggableCondition, () => { - setTableDraggable(); + setTableDraggable(Object.keys(sortItem.value).length === 0 && Object.keys(filterItem.value).length === 0); }, { immediate: true,