批量推送代码
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user