Showing
2 changed files
with
3 additions
and
2 deletions
... | ... | @@ -27,14 +27,14 @@ |
27 | 27 | auth: GBT28181_DEVICE_PERMISSION_ENUM.PLAY_SYNC, |
28 | 28 | icon: 'ant-design:play-circle-outlined', |
29 | 29 | onClick: handlePlay.bind(null, record), |
30 | - ifShow: record?.status === 'ONLINE', //在线则显示播放按钮 | |
30 | + ifShow: deviceDetail.isEdge === 0 && record?.status === 'ONLINE', //在线则显示播放按钮,边端同步到云端的视频设备,不能进行点播。 | |
31 | 31 | }, |
32 | 32 | { |
33 | 33 | label: t('business.stopText'), |
34 | 34 | auth: GBT28181_DEVICE_PERMISSION_ENUM.STOP, |
35 | 35 | icon: 'ant-design:pause-outlined', |
36 | 36 | onClick: handleStopPlay.bind(null, record), |
37 | - ifShow: !!record?.streamId, //通道号存在则显示停止点播按钮 | |
37 | + ifShow: deviceDetail.isEdge === 0 && !!record?.streamId, //通道号存在则显示停止点播按钮 | |
38 | 38 | }, |
39 | 39 | ]" |
40 | 40 | /> | ... | ... |