diff --git a/ruoyi-ui/src/plugins/modal.js b/ruoyi-ui/src/plugins/modal.js
index 7ad9d297..df2d20b3 100644
--- a/ruoyi-ui/src/plugins/modal.js
+++ b/ruoyi-ui/src/plugins/modal.js
@@ -9,7 +9,7 @@ export default {
},
// 错误消息
msgError(content) {
- Message.error(content)
+ Message.error('commerror:'+content)
},
// 成功消息
msgSuccess(content) {
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
index 03447f1a..ffdc31d6 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
@@ -93,7 +93,7 @@ async function getUrl({ camId, url, pileNum, rangeIndex } = {}) {
if (camId) {
const { code, data } = await getCameraStream(camId).catch(() => ({}));
if (code != 200) {
- Message.warning("未获取到当前相机的播放地址");
+ // Message.warning("未获取到当前相机的播放地址");
return;
}
@@ -101,7 +101,7 @@ async function getUrl({ camId, url, pileNum, rangeIndex } = {}) {
}
if (!url) {
- Message.warning("未获取到当前相机的播放地址");
+ // Message.warning("未获取到当前相机的播放地址");
return Promise.reject("获取 url 失败!");
}
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js b/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js
index 4584c73e..0dd0e8da 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/videoStream.js
@@ -34,6 +34,7 @@ const testFlvUrl =
* @returns
*/
export async function openVideoStream(container, { camId, url } = {}) {
+ console.log(camId,333)
if (camId) {
const { code, data } = await getCameraStream(camId).catch(() => ({}));
@@ -65,16 +66,18 @@ export async function openVideoStream(container, { camId, url } = {}) {
}
async function getUrl({ camId} = {}) {
-
+ if(!camId){
+ return
+ }
const { code, data } = await getCameraStream(camId).catch(() => ({}));
if (code != 200) {
- Message.warning("未获取到当前相机的播放地址");
+ // Message.warning("未获取到当前相机的播放地址");
return;
}
let url = data.liveUrl;
if (!url) {
- Message.warning("未获取到当前相机的播放地址");
+ // Message.warning("未获取到当前相机的播放地址");
return Promise.reject("获取 url 失败!");
}
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
index 256e5633..60edfa4f 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
@@ -8,7 +8,7 @@