Skip to content

Commit 810cb85

Browse files
committed
fix: 修复特殊场景下 input 无法输入的问题 #2123
1 parent 5edb3df commit 810cb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/__VUE/input/index.taro.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:readonly="readonly"
1818
:value="modelValue"
1919
:formatTrigger="formatTrigger"
20-
:autofocus="autofocus"
20+
:autofocus="autofocus ? true : undefined"
2121
:enterkeyhint="confirmType"
2222
@input="onInput"
2323
@focus="onFocus"

0 commit comments

Comments
 (0)