แก้ data probation
This commit is contained in:
parent
c776d4e7f1
commit
7c63c3c32c
22 changed files with 167 additions and 118 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue