fix(admin): 使用正式账号完整菜单树并统一实时版入口

This commit is contained in:
2026-12-01 17:51:39 +08:00
parent d96152da09
commit 9fe3bd9bb2
22 changed files with 1043 additions and 65 deletions
@@ -58,6 +58,9 @@ const routeMeta = computed(() => {
})
const resolvePath = (path: string) => {
// The online preview uses generated absolute item IDs to preserve arbitrary
// server menu nesting without ever routing by untrusted component strings.
if (import.meta.env.MODE === 'live-readonly' && path.startsWith('/nav/')) return path
if (isExternal(path)) {
return path
}