优化代码

master
chenjiajian 2023-04-12 17:24:10 +08:00
parent 3dbffb5c41
commit 1e00c7df59
1 changed files with 1 additions and 2 deletions

View File

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