Skip to content

Commit e511fbd

Browse files
committed
update swipe item istanbul ignore comment
1 parent 24cdd67 commit e511fbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/swipe/swipe-item.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
}
9898
},
9999
_handleBtns(x) {
100+
/* istanbul ignore if */
100101
if (this.btns.length === 0) {
101-
/* istanbul ignore if */
102102
return
103103
}
104104
const len = this.$refs.btns.length
@@ -243,8 +243,8 @@
243243
clearTimeout(this.shrinkTimer)
244244
e.stopPropagation()
245245
}
246+
/* istanbul ignore if */
246247
if (this.isInTransition) {
247-
/* istanbul ignore if */
248248
return
249249
}
250250
e.preventDefault()

0 commit comments

Comments
 (0)