Commit 69bee73d995647e06b7fd349cb70d2074fa9a2bb
Merge branch 'feat-device/video' into 'main_dev'
feat: 设备里的视频通道,播放按钮根据状态判断显示 See merge request yunteng/thingskit-front!1278
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -25,6 +25,7 @@ | @@ -25,6 +25,7 @@ | ||
25 | auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC, | 25 | auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC, |
26 | icon: 'ant-design:play-circle-outlined', | 26 | icon: 'ant-design:play-circle-outlined', |
27 | onClick: handlePlay.bind(null, record), | 27 | onClick: handlePlay.bind(null, record), |
28 | + ifShow: record?.status === 'ONLINE', //在线则显示播放按钮 | ||
28 | }, | 29 | }, |
29 | { | 30 | { |
30 | label: '停止', | 31 | label: '停止', |