From 199f196af050a120429726f2af1c2a2f7cb1b4de Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 18:28:18 +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