From ad574e24d83ab2b09c43d9c20b6087a010e3e876 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Mon, 28 Feb 2022 17:40:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4detection=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E7=AD=9B=E9=80=89=E6=A1=86=E2=80=9Cshowmore=E2=80=9D?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/detections/DetectionFilter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/detections/DetectionFilter.vue b/src/views/detections/DetectionFilter.vue index 48ea0ad7..a3f362c9 100644 --- a/src/views/detections/DetectionFilter.vue +++ b/src/views/detections/DetectionFilter.vue @@ -50,7 +50,7 @@ export default { }, */ showMore (filter) { filter.showIndex && (filter.showIndex += 10) - filter.showIndex >= filter.data.length && (filter.showMore = false) + filter.showIndex >= (filter.data.length - 1) && (filter.showMore = false) } }, computed: {