Commit e365a850d3bda3a793b0d96c724368e6d0388bb5

Authored by loveumiko
1 parent 26414a91

fix: 修复视频通道gbt播放接口错误和视频配置批量新增没有清空值

... ... @@ -3,6 +3,7 @@
3 3 v-bind="$attrs"
4 4 @register="registerDrawer"
5 5 showFooter
  6 + :destroy-on-close="true"
6 7 title="新增GBT28181"
7 8 width="30%"
8 9 @ok="handleSubmit"
... ...
... ... @@ -68,7 +68,7 @@
68 68 setModalProps({ loading: true, loadingTip: '视频加载中...' });
69 69 // getStreamingPlayUrl
70 70 let result: any = null;
71   - if (record.accessMode === AccessMode.GBT28181) {
  71 + if (record.accessMode === AccessMode.GBT28181 || ifShowGBT) {
72 72 result = await getVideoControlStart({
73 73 deviceId: params?.deviceId ? params?.deviceId : record?.deviceId,
74 74 channelId: params?.channelNo ? params?.channelNo : record?.channelId,
... ...