fix: 修复点击iframe页面无法关闭右键标签页面板以及右键标签页面板被遮挡的问题

This commit is contained in:
xiaoxian521
2023-10-30 23:33:53 +08:00
parent a0c56e99b7
commit 02c2e4fc4b
3 changed files with 8 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
import {
ref,
unref,
watch,
computed,
reactive,
onMounted,
@@ -9,7 +8,6 @@ import {
getCurrentInstance
} from "vue";
import { tagsViewsType } from "../types";
import { useEventListener } from "@vueuse/core";
import { useRoute, useRouter } from "vue-router";
import { transformI18n, $t } from "@/plugins/i18n";
import { responsiveStorageNameSpace } from "@/config";
@@ -215,13 +213,6 @@ export function useTags() {
}
});
watch(
() => visible.value,
() => {
useEventListener(document, "click", closeMenu);
}
);
return {
route,
router,