Take show-confirm-bar as an example:
The type of show-confirm-bar is Boolean, and the default value is true.
If we want to display the button in wxml there are two ways
①.<textarea show-confirm-bar placeholder="请输入" />
②.<textarea show-confirm-bar="{
{true}}" placeholder="请输入" />
There are two ways to not show buttons
①.<textarea show-confirm-bar="" placeholder="请输入" />
①.<textarea show-confirm-bar="{
{false}}" placeholder="Please enter" />
Note: The true&false written above does not have to be defined in data, it can be directly identified.