แก้ data probation

This commit is contained in:
kittapath 2024-11-01 19:53:48 +07:00
parent c776d4e7f1
commit 7c63c3c32c
22 changed files with 167 additions and 118 deletions

View file

@ -203,8 +203,8 @@ async function getList() {
}&pageSize=${pagination.value.rowsPerPage}`
)
.then(async (res) => {
const data = await res.data.data.data;
const resTotal = await res.data.data.total;
const data = await res.data.result.data;
const resTotal = await res.data.result.total;
rows.value = data;
totalList.value = Math.ceil(resTotal / pagination.value.rowsPerPage);
total.value = resTotal;