feat: 追溯码客户端预览(TOTP式令牌保护,不激活不计数,可切换激活状态预览)

This commit is contained in:
Nixevol
2026-07-12 23:16:37 +08:00
parent 8fd417aa87
commit c1d8fb9ca4
17 changed files with 696 additions and 191 deletions
+2
View File
@@ -5,6 +5,8 @@ export default createRouter({
routes: [
{ path: '/', component: () => import('@/views/Home.vue') },
{ path: '/trace/:code', component: () => import('@/views/Trace.vue') },
// 后台预览模式:复用 Trace.vue,凭 ?token= 时间令牌访问,不激活/不计数
{ path: '/trace/preview/:code', component: () => import('@/views/Trace.vue') },
{ path: '/:pathMatch(.*)*', redirect: '/' },
],
});