From fc8e859bbb7b887fb904582be878f1518bae224d Mon Sep 17 00:00:00 2001 From: liang <594755172@qq.com> Date: Tue, 10 Jun 2025 16:39:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=AE=8C=E5=96=84?= 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) => {