From b51e199375f4e492046b9a099a43272b4fd967e5 Mon Sep 17 00:00:00 2001 From: liyuqi Date: Wed, 11 Jun 2025 14:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=94=99=E8=AF=AFrevert?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_wms_client/src/layout/inventoryRecord.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_wms_client/src/layout/inventoryRecord.vue b/dev_wms_client/src/layout/inventoryRecord.vue index 14c66a9..a7555a6 100644 --- a/dev_wms_client/src/layout/inventoryRecord.vue +++ b/dev_wms_client/src/layout/inventoryRecord.vue @@ -194,7 +194,7 @@ const handleSortChange = (data) => { if (baseTableQuery.sortBy.has(data.prop)) { baseTableQuery.sortBy.delete(data.prop) } - baseTableQuery.sortBy.set(data.prop, data.order === 'ascending') + baseTableQuery.sortBy.set(data.prop, data.order.toLowerCase() === 'ascending') search() } const getCurrentRow = (row) => {