From d1f59b8a672228d196e30efc5a02321485ccabd1 Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Thu, 16 Feb 2023 10:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E7=9B=91=E5=90=AC=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E5=AE=89=E5=8D=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Guidance.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Guidance.vue b/src/views/Guidance.vue index d59c589..cf643b5 100644 --- a/src/views/Guidance.vue +++ b/src/views/Guidance.vue @@ -54,8 +54,8 @@ export default { //已阅读 doRead() { let readBox = this.$refs.scrollView; - console.log(readBox.scrollHeight, readBox.scrollTop, readBox.clientHeight) - if (readBox.scrollHeight - readBox.scrollTop !== readBox.clientHeight) { + console.log(readBox.scrollHeight, parseInt(readBox.scrollTop), readBox.clientHeight) + if (readBox.scrollHeight - parseInt(readBox.scrollTop) !== readBox.clientHeight) { console.log('未阅读完成'); this.isFlag = false; } else {