fix: client list can not sort by idle time (#438)

This commit is contained in:
Lykin
2025-05-08 19:14:06 +08:00
parent 69752d2a90
commit a9ba6a62e6

View File

@@ -576,7 +576,7 @@ const clientTableColumns = computed(() => {
{
key: 'idle',
title: () => i18n.t('status.client.idle'),
sorter: (row1, row2) => row1.age - row2.age,
sorter: (row1, row2) => row1.idle - row2.idle,
align: 'center',
titleAlign: 'center',
render: ({ idle }, index) => {