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,