fix: textarea height not correct #2974

pull/3143/head
tangjinzhou 4 years ago
parent ee0470c280
commit 1d2b93c871

@ -29,7 +29,9 @@ const ResizableTextArea = {
},
mixins: [BaseMixin],
mounted() {
this.resizeTextarea();
this.$nextTick(() => {
this.resizeTextarea();
});
},
beforeDestroy() {
raf.cancel(this.nextFrameActionId);

Loading…
Cancel
Save