From 77ea6f71e7532e89b974bcb65ce5a6b67a680ddb Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 25 二月 2021 17:35:12 +0800 Subject: [PATCH] 朔黄标注编辑后检索数据同步更新;头部模拟用户名头像 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index a0e7169..87c4271 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -485,7 +485,20 @@ } else { _this.tabTotal = res.total; _this.tabData = res.data; - + _this.tabData = _this.tabData.map(function (item) { + const set = new Set() + item.LableLst.forEach(function (label) { + label.Desc.split("锛�").forEach(function (d) { + set.add(d) + }) + }) + const lblst = [] + set.forEach(function (d) { + lblst.push({ Desc: d }) + }) + item.LableLst = lblst + return item + }) } }); }, @@ -873,7 +886,7 @@ text-align: left; border: 1px solid #dedede; border-radius: 5px; - //height: 390px; + height: 420px; .video-wrap { border-radius: 3px; width: 100%; -- Gitblit v1.8.0