优化 router,支持 isAuth,并添加示例

This commit is contained in:
icssoa
2025-09-23 15:59:19 +08:00
parent 30750cc164
commit 3f988f2c31
10 changed files with 202 additions and 71 deletions

View File

@@ -64,7 +64,7 @@ if (isArray(ctx.subPackages)) {
PAGES.push({
path: a.root + "/" + b.path, // 拼接子包根路径和页面路径
style: b.style,
meta: b.meta ?? {},
meta: b.meta
});
});
});