Skip to content

Commit 29eba77

Browse files
committed
fix #1044
1 parent 192126f commit 29eba77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transition/transition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ p.leave = function (op, cb) {
139139
this.cb = cb
140140
addClass(this.el, this.leaveClass)
141141
this.callHookWithCb('leave')
142-
this.cancel = this.hooks && this.hooks.enterCancelled
142+
this.cancel = this.hooks && this.hooks.leaveCancelled
143143
// only need to do leaveNextTick if there's no explicit
144144
// js callback
145145
if (!this.pendingJsCb) {

0 commit comments

Comments
 (0)