In uniapp uview2.0, the u--textarea component cannot wrap, and the wrap is invalid. Solution

In the end, it was found that because of the problem of the default value, the default value of confirmType written in the official documents of uniapp and uview is done, but the textarea of ​​uniapp has no value without configuration, uview adds a default value of done, just There is a problem that cannot be returned. I tried to set the confirmType of the textarea component of uview to undefined but it is invalid. It is only valid if it is set to null.

uniapp official documentation:

 WeChat official documents:

 solve:

<u--textarea :confirmType="null" v-model="xxxx" placeholder="请输入xxx" />

Guess you like

Origin blog.csdn.net/m0_57033755/article/details/131167542