forms/textarea/CTextArea.vue
@@ -18,7 +18,7 @@ :style="{height: areaHeight}" :placeholder="placeholder" :value="itemRes.formData[itemRes.name]" :autoFocus="true" :autoFocus="false" @input="evt=>itemRes.onChange(evt.detail.value)" /> </view> @@ -51,7 +51,7 @@ }, computed: { areaHeight() { return Taro.pxTransform(this.height); return Taro.pxTransform(this.height, 750); }, }, methods: {},