docs: annotate remaining routes layouts and view boundaries
This commit is contained in:
1 parent
408f8e5c98
commit
ab22d406c0
56 files changed
+403
No files matched your search
@@ -1,4 +1,7 @@
|
||||
<script setup>
|
||||
/**
|
||||
* 旧平台单点登录入口:路由守卫负责从 URL 提取并清理凭据;本页只发起服务端验证,支持失败后重试并在离页时取消待处理凭据。
|
||||
*/
|
||||
import { onBeforeUnmount, onMounted, ref } from "vue";
|
||||
import { useHead, useRouter } from "#app";
|
||||
import { NuxtLink } from "#components";
|
||||
@@ -18,6 +21,7 @@ const isVerifying = ref(false);
|
||||
const verificationError = ref("");
|
||||
let disposed = false;
|
||||
|
||||
// 通过会话核心验证已提取的旧平台登录,不再次读取 URL 中的敏感参数;只有组件仍存活时才进入首页。
|
||||
async function verifyAndEnterConsole() {
|
||||
if (isVerifying.value) return;
|
||||
isVerifying.value = true;
|
||||
|
||||
Reference in new issue
Block a user