华为云Astro大屏应用-input-number:配置示例

时间:2025-02-12 15:04:21

配置示例

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 input-number配置设置后效果
support.huaweicloud.com/usermanual-astrocanvas/astrocanvas_05_7137.html