:rocket: A performance app engine to create web services and applications in minutes.Suitable for AI, IoT, Industrial Internet, Connected Vehicles, DevOps, Energy, Finance and many other use-cases.
Home Page:https://yaoapps.com
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
QJAutumn opened this issue a year ago · comments
图表展示页面(自由拼接页面也是)中使用展示数量的组件:似乎不能展示小数,pet_count为小数的时候,会自动四舍五入,大于0.5的会变成1,小于0.5的会变成0 "宠物数量": { "bind": "pet_count", "link": "/x/Table/pet", "view": { "type": "Number", "props": { "unit": "个" } } },
"宠物数量": { "bind": "pet_count", "link": "/x/Table/pet", "view": { "type": "Number", "props": { "unit": "个" } } },
https://github.com/YaoApp/demo-app/blob/main/charts/dashboard.chart.json
遇到这种先看文档。
sorry,打扰了