This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user