occupy 或 occupy 中数据为-1 或小于0的数据则过滤 #15
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
例如正常数据为 data: [0,1,0,1], 但服务器可能只计算某一个位置的数据,其他数据都为-1, 这时候数据会为 data: [0,-1,-1,-1] , 前端需要进行过滤,只处理 >=0 的数据.
但这只适合处理显示每一个数据的情况, 如果是显示一个总的空闲数字的情况似乎不适合