From 1e00c7df59e3a7f3066abfb057af7e45aab5c0e2 Mon Sep 17 00:00:00 2001 From: chenjiajian <770230504@qq.com> Date: Wed, 12 Apr 2023 17:24:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/swipe/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/swipe/index.js b/src/swipe/index.js index 6120454..caa5354 100644 --- a/src/swipe/index.js +++ b/src/swipe/index.js @@ -298,8 +298,7 @@ class Swipe extends Component { this.$on('mouseenter', () => this.showArrow()) this.$on('mouseleave', () => this.hideArrow()) } else if (this.arrow === 'alway') { - this.showArrowBtn = true - this.$requestUpdate() + this.showArrow() } } unmounted() {