Commit 64fbaeb8fd10a055de70c37aebb747a393eb188d

Authored by fengwotao
1 parent 8bc2e91e

feat: 设备里的视频通道,播放按钮根据状态判断显示

... ... @@ -25,6 +25,7 @@
25 25 auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC,
26 26 icon: 'ant-design:play-circle-outlined',
27 27 onClick: handlePlay.bind(null, record),
  28 + ifShow: record?.status === 'ONLINE', //在线则显示播放按钮
28 29 },
29 30 {
30 31 label: '停止',
... ...