From 3648a6f4e892ba71d716594f5a60c6911ffedd1b Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 25 Oct 2024 16:22:58 +0700 Subject: [PATCH] fix: total not update on change tab --- src/pages/05_quotation/MainPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index b8002aea..acb1e042 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -277,6 +277,7 @@ async function fetchQuotationList() { if (ret) { quotationData.value = ret.result; quotationPageMax.value = Math.ceil(ret.total / quotationPageSize.value); + pageState.total = ret.total; } }