From e4e70f29e0142c4b3bc2ccb59be1e4246104050a Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 13 五月 2021 16:28:56 +0800 Subject: [PATCH] 搜索 企业应急图片修改与图层控制联动。 --- 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