[bugfix] Collpase: height calc error when set user-select none (#2702)

This commit is contained in:
neverland
2019-02-07 21:01:49 +08:00
committed by GitHub
parent eb6f1b1df6
commit f7e3c71b6e
+1 -1
View File
@@ -73,7 +73,7 @@ export default sfc({
this.inited = true;
}
this.$nextTick(() => {
raf(() => {
const { content, wrapper } = this.$refs;
if (!content || !wrapper) {
return;