告警在对应位置可以点击并且显示告警SVG #43
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#43
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?
有些告警触发时,需要对应的方块可以点击 并且显示告警SVG, 告警svg文件在socketio DEVICE_ALERT 事件数据中,字段为: files.alertSvg
数据结构为新的通用的 file 格式. 即:
更新: 点击告警位置弹出SVG提示,而不是对应位置,
fall 告警在对应位置可以点击并且显示告警SVGto 告警在对应位置可以点击并且显示告警SVG已经添加了, 但是 svg 从我从本地取文件回来好像有问题。一直无法正常展示, s3是不是设置了 cors?
https://s3.yunhorn.com/test2/fallalert/matrix08_dot2.svg
经过测试,改成上面这个 svg url 就可以了