From a6a919d953e47ac0ef9181bd29c4b8526fe1ea9e Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 18:35:09 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/panel/RightSearchPanel.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue index 0f7114d..3c1ee1e 100644 --- a/src/components/panel/RightSearchPanel.vue +++ b/src/components/panel/RightSearchPanel.vue @@ -86,7 +86,6 @@ hbVisible: false, pkVisible: false, toggleMonitorStyle: 'right:0px', - title: '姹¢洦姘寸缃�', isCollapse: true, selectGroup: false @@ -218,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 { @@ -231,6 +234,7 @@ } }) }) + // console.log(that.topicList) } } </script> -- Gitblit v1.8.0