批量推送代码

This commit is contained in:
郭庆泰
2026-08-26 23:14:46 +08:00
parent 18f7e93d5b
commit 36528b6e0c
36 changed files with 933 additions and 779 deletions
@@ -147,6 +147,11 @@ async function onUserCmd(cmd) {
function handleScroll() { isScrolled.value = window.scrollY > 10 }
onMounted(() => {
// 计划详情需登录 (点击验证登录状态): 未登录跳登录, 登录后回跳 (兜底拦截直链访问)
if (!loggedIn.value) {
router.replace({ path: '/login', query: { redirect: route.fullPath } })
return
}
window.addEventListener('scroll', handleScroll, { passive: true })
load()
})