20260616173137

This commit is contained in:
oneao committed 2026-06-16 17:31:38 +08:00
1 parent c9870ed390
commit 496e105efb
3 files changed
+5 -40

No files matched your search

@@ -3,7 +3,10 @@ import { useTabStore } from "@/store/tab";
import { useRoute } from "vue-router";
import emitter from "@/utils/emitter";
const HOME_PATH = "/";
const { refs, setRefs } = useRefs();
const showScroll = ref(false);
const route = useRoute();
@@ -83,7 +86,6 @@ function switchTab(tab, index) {
moveScroll(index);
}
const HOME_PATH = "/";
// 关闭标签
async function closeTab(tab) {
@@ -159,6 +161,7 @@ function closeAll() {
router.push(HOME_PATH);
}
function toHome() {
router.push("/");
}