feat: เพิ่ม flowStore.rotate()
This commit is contained in:
parent
9e28d51d21
commit
557924ad6c
2 changed files with 18 additions and 3 deletions
|
|
@ -224,7 +224,12 @@ watch(currentStatus, async () => {
|
|||
<PaginationComponent
|
||||
v-model:current-page="currentPageBranch"
|
||||
v-model:max-page="maxPageBranch"
|
||||
:fetch-data="async () => await fetchList()"
|
||||
:fetch-data="
|
||||
async () => {
|
||||
await fetchList();
|
||||
flowStore.rotate();
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</AppBox>
|
||||
|
|
|
|||
|
|
@ -1553,7 +1553,12 @@ watch([inputSearch, currentStatus], async () => {
|
|||
<PaginationComponent
|
||||
v-model:current-page="currentPageCustomer"
|
||||
v-model:max-page="maxPageCustomer"
|
||||
:fetch-data="async () => await fetchListCustomer()"
|
||||
:fetch-data="
|
||||
async () => {
|
||||
await fetchListCustomer();
|
||||
flowStore.rotate();
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -1617,7 +1622,12 @@ watch([inputSearch, currentStatus], async () => {
|
|||
<PaginationComponent
|
||||
v-model:current-page="currentPageEmployee"
|
||||
v-model:max-page="maxPageEmployee"
|
||||
:fetch-data="async () => await fetchListEmployee()"
|
||||
:fetch-data="
|
||||
async () => {
|
||||
await fetchListEmployee();
|
||||
flowStore.rotate();
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue