[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ export default sfc({
this.inited = true;
}
this.$nextTick(() => {
raf(() => {
const { content, wrapper } = this.$refs;
if (!content || !wrapper) {
return;