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() {