From fc3d154569e68f30ee0f31d8ae398e5ab2a2a5ed Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 22 Feb 2022 11:49:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E4=B8=8B=E4=B8=80=E6=9D=A1=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= =?UTF-8?q?=20--bug=3D1010470=20--user=3D=E9=99=88=E5=BB=BA=E6=98=9F=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92-=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=89=A7=E8=A1=8C=E7=94=A8=E4=BE=8B=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=88=B0=E8=BE=BE=E6=AF=8F=E9=A1=B5=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E6=9D=A1=E6=95=B0=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E4=B8=8B?= =?UTF-8?q?=E4=B8=80=E6=9D=A1=EF=BC=8C=E6=9D=A1=E6=95=B0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20https://www.tapd.cn/55049933/s/1107285?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/components/MsPreviousNextButton.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/common/components/MsPreviousNextButton.vue b/frontend/src/business/components/common/components/MsPreviousNextButton.vue index 75b3f3c46e..746a8b4b8b 100644 --- a/frontend/src/business/components/common/components/MsPreviousNextButton.vue +++ b/frontend/src/business/components/common/components/MsPreviousNextButton.vue @@ -20,7 +20,7 @@ name: "MsPreviousNextButton", data() { return { - + countNum: 1 } }, props: { @@ -61,9 +61,9 @@ } } }, - computed: { - countNum() { - return this.pageSize * (this.pageNum - 1) + this.index + 1; + watch: { + index() { + this.countNum = this.pageSize * (this.pageNum - 1) + this.index + 1; } }, methods: {