This commit is contained in:
xinsin 2023-07-11 13:49:02 +08:00
parent 78f18847ef
commit 2e73425239

View File

@ -85,8 +85,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div>
<div class="orderManagerPaginationDiv">
<el-pagination <el-pagination
background background
layout="prev, pager, next" layout="prev, pager, next"
@ -344,7 +342,8 @@ const changePageHandler = (response: AxiosType.AxiosResponse<IResponseData<IPage
tableShowData.value = response.data.data.info tableShowData.value = response.data.data.info
totalOrderCount.value = response.data.data.total totalOrderCount.value = response.data.data.total
} }
const handleChangePage = () => { const handleChangePage = (value = 1) => {
nowPage.value = value
if (searchMode.value) { if (searchMode.value) {
searchOrderApi(searchType.value, searchContent.value, nowPage.value) searchOrderApi(searchType.value, searchContent.value, nowPage.value)
.then(changePageHandler) .then(changePageHandler)