fix: wrong calc
This commit is contained in:
parent
4e4aa92680
commit
dae29d980f
1 changed files with 2 additions and 2 deletions
|
|
@ -446,7 +446,7 @@ onMounted(async () => {
|
|||
|
||||
if (ret) {
|
||||
quotationData.value = ret.result;
|
||||
quotationPageMax.value = Math.floor(ret.total / quotationPageSize.value);
|
||||
quotationPageMax.value = Math.ceil(ret.total / quotationPageSize.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -472,7 +472,7 @@ async function fetchQuotationList() {
|
|||
|
||||
if (ret) {
|
||||
quotationData.value = ret.result;
|
||||
quotationPageMax.value = Math.floor(ret.total / quotationPageSize.value);
|
||||
quotationPageMax.value = Math.ceil(ret.total / quotationPageSize.value);
|
||||
}
|
||||
|
||||
flowStore.rotate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue