mod(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-19 17:03:17 +08:00
parent 2f7b80f418
commit f78140d8dd
4 changed files with 17 additions and 18 deletions

View File

@@ -513,7 +513,7 @@ const getList = async () => {
pageSize: pagination.value.pageSize,
name: queryParams.value.word,
})
data.value = res.data.data || []
data.value = res.data.data.sort((a, b) => b.status - a.status) || []
pagination.value.itemCount = res.data.total
} catch (error) {
$message.error(error.msg)