style(mixins/emitter): remove empty lines

This commit is contained in:
07akioni 2019-08-16 16:43:08 +08:00
parent d390820d85
commit 0aa560c924

View File

@ -14,10 +14,8 @@ export default {
dispatch (componentName, eventName, params) {
let parent = this.$parent || this.$root
let name = parent.$options.name
while (parent && (!name || name !== componentName)) {
parent = parent.$parent
if (parent) {
name = parent.$options.name
}