fix: Expand title height of textarea on load (#6103)
This commit is contained in:
parent
1bf23055df
commit
3e91765472
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@ export default {
|
||||||
this.resizeTextarea();
|
this.resizeTextarea();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.value) {
|
||||||
|
this.resizeTextarea();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
resizeTextarea() {
|
resizeTextarea() {
|
||||||
if (!this.value) {
|
if (!this.value) {
|
||||||
|
|
Loading…
Reference in a new issue