Skip to content

Commit 376d3b7

Browse files
费陶勇费陶勇
authored andcommitted
fix: umicro#282 - 修复u-input组件属性为textarea时,快速输入或删除会导致闪烁的问题
1 parent 13ff55d commit 376d3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uview-ui/components/u-input/u-input.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
v-if="type == 'textarea'"
1717
class="u-input__input u-input__textarea"
1818
:style="[getStyle]"
19-
:value="value"
19+
:value="defaultValue"
2020
:placeholder="placeholder"
2121
:placeholderStyle="placeholderStyle"
2222
:disabled="disabled"

0 commit comments

Comments
 (0)