ASTRO轻应用 ASTROZERO-input:配置示例

时间:2024-04-28 16:09:20

配置示例

input配置示例如下,配置后效果如图1所示。

{
	"type": "text",
	"name": "commProps.myText",
	"value": "我是text的类型",
	"label": {
		"zh_CN": "text的类型",
		"en_US": "text Type Example"
	},
	"placeholder": {
		"zh_CN": "请输入标题内容",
		"en_US": "Enter the title content."
	},
	"prefix": "↑",
	"suffix": "%"
}
图1 设置后效果
support.huaweicloud.com/usermanualcanvas-astrozero/astrozero_05_7135.html