From b02c0629be20e8d46f55646d6663b80cb78e205e Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期一, 22 二月 2021 16:45:29 +0800
Subject: [PATCH] 视频检索列表视频名称添加点击弹出详情事件

---
 src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
index 87a6943..6572fe8 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
@@ -242,7 +242,8 @@
           element.marks = _this.mergeMarks(element)
           console.log(element.marks)
         });
-        _this.curVideo = res.data[0];
+        _this.curVideo = res.data.find(item=>item.ID == video.ID);
+        //_this.curVideo = res.data[0];
         _this.videoArrs = res.data;
         _this.relativeVideos = res.data;
         this.$nextTick(() => {
@@ -366,7 +367,6 @@
           _this.curVideo.LableLst = rsp.data;
           this.$message.success("鍒犻櫎鎴愬姛")
           // 鏍囨敞
-          debugger
           _this.setMarks(_this.curVideo)
         } else {
           this.$message.warning(rsp.msg)

--
Gitblit v1.8.0