diff --git a/.env.production b/.env.production index 24a8432..1b46de2 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,5 @@ # 日志级别 TRACE < DEBUG < INFO < WARN < ERROR VITE_LOG_LEVEL=DEBUG -VITE_OSS_UPLOAD_BASE_URL=https://tq-cdn.oss-cn-shanghai.aliyuncs.com +VITE_OSS_UPLOAD_BASE_URL=https://cdn-zsy.oss-cn-shanghai.aliyuncs.com -VITE_HTTP_SERVER_BASE_URL=/supervision/api - -VITE_APP_BASE_URL=/supervision diff --git a/src/assets/images/temp.gif b/src/assets/images/temp.gif new file mode 100644 index 0000000..07ad0aa Binary files /dev/null and b/src/assets/images/temp.gif differ diff --git a/src/pages/dispose-recode/DisposeRecodeDetail.vue b/src/pages/dispose-recode/DisposeRecodeDetail.vue index 2fbc405..bf838bb 100644 --- a/src/pages/dispose-recode/DisposeRecodeDetail.vue +++ b/src/pages/dispose-recode/DisposeRecodeDetail.vue @@ -150,6 +150,8 @@ defineExpose({

+
轨迹图
+ diff --git a/src/pages/tsp/VideoPanel.vue b/src/pages/tsp/VideoPanel.vue index 0ed7b22..1d0557e 100644 --- a/src/pages/tsp/VideoPanel.vue +++ b/src/pages/tsp/VideoPanel.vue @@ -38,7 +38,7 @@ function flvErrorHandler(type: string, message: string) { break case FlvJs.ErrorTypes.MEDIA_ERROR: console.log(message) - Toast.error('视频格式错误,播放失败') + // Toast.error('视频格式错误,播放失败') break default: console.log(message) @@ -50,7 +50,13 @@ function createPlayer() { if (FlvJs.isSupported()) { flvPlayer = FlvJs.createPlayer({ type: 'flv', - url: videoUrl + hasAudio: false, + hasVideo: true, + isLive: true, + url: 'https://admin.njzscloud.com/proxy/sms/local/live/P2zUwoEQF541F_01.flv?expired=20570510211616' + }, { + enableStashBuffer: true, + isLive: true, }) flvPlayer.on(FlvJs.Events.ERROR, flvErrorHandler)