From dd1f49d08fd83a900c08eb87c78a6d56b3ee3a50 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 10:36:23 +0800 Subject: [PATCH] 图层控制联动效果。 --- src/components/panel/RightSearchPanel.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue index b025a43..a53ae08 100644 --- a/src/components/panel/RightSearchPanel.vue +++ b/src/components/panel/RightSearchPanel.vue @@ -24,7 +24,7 @@ </ul> </div> </div> - <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] "> + <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] " v-if="gcComp!=''"> <div class="panel-fold-btn" @click="toggleMonitorPanel"> <div :class="[isCollapse? 'btn-stretch':'btn-shrink']"></div> </div> @@ -219,6 +219,7 @@ 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 -- Gitblit v1.8.0