Skip to content

Commit b97cd0b

Browse files
committed
revert events
1 parent 065b8b3 commit b97cd0b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/core/instance/lifecycle.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,5 @@ export function callHook (vm: Component, hook: string) {
211211
handlers[i].call(vm)
212212
}
213213
}
214-
// if (vm._events['hook:' + hook]) {
215-
// vm.$emit('hook:' + hook)
216-
// }
214+
vm.$emit('hook:' + hook)
217215
}

0 commit comments

Comments
 (0)