From e3557e27465cacbad62321041fd2d17e4f81a196 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期五, 18 六月 2021 18:10:46 +0800 Subject: [PATCH] 修复数据栈底图显示,添加朔黄的支持 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index 02a834b..012a5df 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -158,7 +158,7 @@ <el-col :xs="8" :sm="6" :md="6" :lg="6" v-for="data in tabData" :key="data.id"> <div class="card"> <div class="video-wrap" @click="checkVideoDetail(data)"> - <img :src="data.VideoCover" alt /> + <img :src="data.VideoCover | fixPath" alt /> </div> <div class="video-info"> <div class="base-info"> @@ -326,13 +326,22 @@ VideoAnalyze, EventVideos, }, + filters: { + fixPath(str) { + if (!str || str == undefined) { + return "" + } + + return str.replace("/opt/vasystem", "") + } + }, data() { return { CLIP: "http://", keyword: "", IsFollow: "", searchTime: [ - new Date(2021, 0, 1, 0, 0, 0), + new Date(2020, 0, 1, 0, 0, 0), new Date(2021, 11, 31, 23, 59, 59), ], curTabPage: 1, -- Gitblit v1.8.0