From 1e114a012e2abab1162ab8004f86694834f07449 Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 18:12:56 +0800 Subject: [PATCH] 企业应急 --- src/components/panel/RightSearchPanel.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue index fd8749e..3c1ee1e 100644 --- a/src/components/panel/RightSearchPanel.vue +++ b/src/components/panel/RightSearchPanel.vue @@ -217,11 +217,15 @@ mounted () { const that = this bus.$on('changeSearchBar', function (obj) { - // console.log(obj.checked, obj.name) that.gcComp = '' that.topicList.forEach((item) => { if (item.name === obj.name) { - item.isShow = obj.checked + if (obj.type > 0) { + item.isShow = true + } else { + item.isShow = false + } + // item.isShow = obj.checked if (item.isShow) { that.selected(item) } else { @@ -230,6 +234,7 @@ } }) }) + // console.log(that.topicList) } } </script> -- Gitblit v1.8.0