Browse Source

修改提交

wangqin
Joe 10 months ago
parent
commit
a3102b8ef2
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue
  3. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue

4
ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js

@ -84,7 +84,7 @@ export class HttpLivePlayer {
if (!url) return Promise.reject("获取 url 失败!"); if (!url) return Promise.reject("获取 url 失败!");
return; this.url = url;
} }
destroy() { destroy() {
@ -102,6 +102,8 @@ export class HttpLivePlayer {
this.lastDecodedFrames = null; this.lastDecodedFrames = null;
console.log(this.url);
if (!this.url) return; if (!this.url) return;
this.player = flvJs.createPlayer( this.player = flvJs.createPlayer(

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue

@ -100,7 +100,7 @@ export default {
getOrganizationName(this.dialogData.iotDeviceId) getOrganizationName(this.dialogData.iotDeviceId)
.then(data => { .then(data => {
this.dialogData.organizationName = data.organizationName; this.dialogData.organizationName = data?.organizationName;
}) })
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark); const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark);

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue

@ -103,7 +103,7 @@ export default {
getOrganizationName(this.dialogData.iotDeviceId) getOrganizationName(this.dialogData.iotDeviceId)
.then((data) => { .then((data) => {
this.data.organizationName = data.organizationName; this.data.organizationName = data?.organizationName;
}); });
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark); const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark);

Loading…
Cancel
Save