From b52b79cedb0888addd6aec2ab24e112f16319d27 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:56:08 +0800 Subject: [PATCH] 问题解决 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index ead0f1a..3579f09 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -714,9 +714,25 @@ }); }, hasError(data) { + let status = true; if (!data.EventLst || data.EventLst.length == 0) { return false; } + + data.EventLst.forEach((item) => { + if ( + item.Event.indexOf("鐬湜") > -1 || + item.Event.indexOf("浜烘暟鍙樺寲") > -1 + ) { + status = false; + false; + } + }); + + if (!status) { + return false; + } + const t = data.EventLst.some((x) => x.state == 0); return t && data.IsOperate == "1"; }, -- Gitblit v1.8.0