[Improvement] optimize find parent mixin (#781)

This commit is contained in:
neverland
2018-03-26 21:20:00 +08:00
committed by GitHub
parent dadf733d71
commit 5497eef5ef
13 changed files with 82 additions and 105 deletions
+3 -1
View File
@@ -146,7 +146,9 @@ export default create({
}
}
el.style.height = height + 'px';
if (height) {
el.style.height = height + 'px';
}
}
}
});