fix(Textarea): autoresize does not work when initializing modelValue (#2681)

This commit is contained in:
Dewdew
2024-11-19 18:02:19 +09:00
committed by GitHub
parent 8c6a8c283f
commit d3a079a644

View File

@@ -151,7 +151,7 @@ function autoResize() {
}
}
watch(() => modelValue, () => {
watch(modelValue, () => {
nextTick(autoResize)
})