From 19a08a6705a116aa02e5622ce1c6065654b09b5f Mon Sep 17 00:00:00 2001 From: liyuqi Date: Wed, 11 Jun 2025 10:58:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=9B=9E=E7=89=88=E6=9C=AC?= 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 a7555a6..14c66a9 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.toLowerCase() === 'ascending') + baseTableQuery.sortBy.set(data.prop, data.order === 'ascending') search() } const getCurrentRow = (row) => {