fix:修复博客分页错误
This commit is contained in:
@@ -54,11 +54,9 @@ const readBlogClick = async (index: number) => {
|
||||
/**
|
||||
* 点击切换博客页数按钮
|
||||
* @param page 页码
|
||||
* @param pageSize 每页大小
|
||||
*/
|
||||
const changePageClick = async (page: number, pageSize: number) => {
|
||||
const changePageClick = async (page: number) => {
|
||||
blogStore.pageInfo.currentPage = page
|
||||
blogStore.pageInfo.pageSize = pageSize
|
||||
await blogStore.queryBlog()
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user