diff options
| author | hanyuxia <[email protected]> | 2024-11-15 13:44:50 +0800 |
|---|---|---|
| committer | hanyuxia <[email protected]> | 2024-11-15 13:44:50 +0800 |
| commit | 8ffd6be1a36f1cab8ed0bb0ae2da0e6d2e856d1c (patch) | |
| tree | 30e0e225028ad9ad4f4d2f2bb22b19ee1440f267 | |
| parent | e4badf66559e2d0395d81c93515a3fb840544c49 (diff) | |
fix: 解决问题:pcap列表页面,点击解析图标时,hover信息不消失
| -rw-r--r-- | src/views/pcaps/index.vue | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/views/pcaps/index.vue b/src/views/pcaps/index.vue index 9cb9e7d..db7a08f 100644 --- a/src/views/pcaps/index.vue +++ b/src/views/pcaps/index.vue @@ -206,6 +206,7 @@ effect="dark" :content="t('pcap.parse_into_sessions')" placement="top" + ref="parseTooltipRef" > <i v-if="scope.row.status === 'Parsing'" class="asw-icon icon-fenxi cp disabled"></i> <i v-else class="asw-icon icon-fenxi cp" @click="parse([scope.row])"></i> @@ -393,7 +394,15 @@ const sessionStatistics = async (arr) => { }; // 解析 +const parseTooltipRef = ref(null) const parse = async (arr) => { + if(parseTooltipRef) {//解决问题:点击解析图标时,hover信息不消失 + parseTooltipRef.value.forEach(item => { + if(item) { + item.hide(); + } + }); + } if (!arr.length) { return; } |
