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

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

配置示例

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

{
	"type": "input-number",
	"name": "commProps.myInputNumber",
	"value": 88,
	"label": {
		"zh_CN": "input-number的类型",
		"en_US": "input-number Type Example"
	},
	"step": 0.01,
	"stepStrictly": true,
	"precision": 2,
	"placeholder": {
		"zh_CN": "请输入标题内容",
		"en_US": "Enter the title content."
	},
	"min": 20,
	"max": 100
}
图1 设置后效果
support.huaweicloud.com/usermanualcanvas-astrozero/astrozero_05_7137.html