diff --git a/src/packages/__VUE/textarea/textarea.taro.vue b/src/packages/__VUE/textarea/textarea.taro.vue index 2e7e25cc68..8696456cbd 100644 --- a/src/packages/__VUE/textarea/textarea.taro.vue +++ b/src/packages/__VUE/textarea/textarea.taro.vue @@ -11,7 +11,7 @@ :show-count="false" :maxlength="maxLength ? maxLength : -1" :placeholder="placeholder || translate('placeholder')" - :auto-focus="autofocus" + :auto-focus="autofocus ? true : undefined" @input="change" @blur="blur" @focus="focus"