From 8da129e6caeb51c94e2ced53f716f78c819dd7d8 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Thu, 13 Jul 2023 17:01:08 +0800 Subject: [PATCH] fix: bug#16333 --- .../system/Department/components/AddDeviceOrProductDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/Department/components/AddDeviceOrProductDialog.vue b/src/views/system/Department/components/AddDeviceOrProductDialog.vue index 1160887e..7706106b 100644 --- a/src/views/system/Department/components/AddDeviceOrProductDialog.vue +++ b/src/views/system/Department/components/AddDeviceOrProductDialog.vue @@ -350,7 +350,7 @@ const table: any = { code: 200, result: { data: data.sort( - (a, b) => a.createTime - b.createTime, + (a, b) => b.createTime - a.createTime ), pageIndex, pageSize,