fix: bug total data position
This commit is contained in:
parent
fd0b78ecbc
commit
4347075d4a
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
|
|||
})
|
||||
.then(async (res) => {
|
||||
const dataMain: PosMaster[] = [];
|
||||
totalData.value = res.data.result.total;
|
||||
totalPage.value = Math.ceil(res.data.result.total / reqMaster.pageSize);
|
||||
res.data.result.data.forEach((e: PosMaster) => {
|
||||
const p = e.positions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue