优化代码
parent
3dbffb5c41
commit
1e00c7df59
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue