fix(admin): 使用正式账号完整菜单树并统一实时版入口
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user