From eaf661471e0bf85ca04923f52b3126ae7ab7e209 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Thu, 12 May 2022 15:26:28 +0800 Subject: [PATCH] fix style --- src/views/components/ConditionTags.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/components/ConditionTags.vue b/src/views/components/ConditionTags.vue index 92c51290..c85ada38 100644 --- a/src/views/components/ConditionTags.vue +++ b/src/views/components/ConditionTags.vue @@ -45,6 +45,7 @@ limitations under the License. --> trigger="contextmenu" :hide-on-click="false" style="margin: 20px 0 0 -130px" + v-if="tagArr.length" > - + >(null); fetchTagKeys(); @@ -168,7 +172,9 @@ function selectTag(item: string) { } function showClick() { - dropdownTag.value.handleOpen(); + if (dropdownTag.value) { + dropdownTag.value.handleOpen(); + } }