From a3c85cbd19b894cca1fcb1af0348a0ef5f73af1e Mon Sep 17 00:00:00 2001 From: sunhonglai Date: Tue, 29 Apr 2025 11:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=99=E5=B8=88=E7=AB=AF?= =?UTF-8?q?=E6=88=91=E7=9A=84=E6=8E=88=E8=AF=BE=E8=AE=B0=E5=BD=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=92=8C=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/course/Mylecnotes.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/course/Mylecnotes.vue b/src/views/course/Mylecnotes.vue index 4fe55cae..0dc5323f 100644 --- a/src/views/course/Mylecnotes.vue +++ b/src/views/course/Mylecnotes.vue @@ -202,9 +202,9 @@ export default { apiCourse.getListByToken(req).then(res => { if (res.status == 200) { this.pageData = res.data.records; - this.pageInfo.pageSize = res.data.size; - this.pageInfo.total = res.data.pages; - this.pageInfo.page = res.data.current; + this.pageInfo.pageSize = Number(res.data.size); + this.pageInfo.total = Number(res.data.pages); + this.pageInfo.page = Number(res.data.current); } else { this.$message({ type: 'error',