feat: 优化界面;IPC-mpv控制;预加载脚本

This commit is contained in:
lqtmcstudio
2026-01-21 15:39:22 +08:00
parent ebfe430746
commit 39d16a65e5
11 changed files with 933 additions and 325 deletions

View File

@@ -56,6 +56,9 @@ const store = usePlayerStore();
const router = useRouter();
const route = useRoute();
// Register IPC
store.init()
// 跟踪路由历史,判断是否可以返回和前进
const canGoBack = ref(true); // 返回按钮始终可用,让浏览器处理
const canGoForward = ref(false);