ow
This commit is contained in:
1 parent
8a2adb0a92
commit
bd678b0112
22 files changed
+1968
-81
No files matched your search
@@ -1,13 +1,15 @@
|
||||
{
|
||||
"pages": [
|
||||
// 入口页在 H5 渲染在根路径;/login、/dashboard 等短地址由 router/h5-clean-url 运行时追加路由记录
|
||||
// 入口页在 H5 渲染在根路径(当前入口=dashboard 首页,未登录由页面级守卫 useAuthGuard 送去登录页);
|
||||
// /login、/dashboard 等短地址由 router/h5-clean-url 运行时追加路由记录
|
||||
// 新增页面须同步登记 router/routes.ts 的 PAGE_PATHS,否则只有真实路径可访问
|
||||
{
|
||||
"path": "pages/login/login"
|
||||
},
|
||||
// 注意:换入口页须同步 routes.ts 里 "/" 的页面归属(resolvePageName)
|
||||
{
|
||||
"path": "pages/dashboard/dashboard"
|
||||
},
|
||||
{
|
||||
"path": "pages/login/login"
|
||||
},
|
||||
// 错误页:H5 短地址由 CLEAN_PATH_OVERRIDES 指定为 /error/page40x,与旧 WebVue 地址一致
|
||||
{
|
||||
"path": "pages/error/page401"
|
||||
|
||||
Reference in new issue
Block a user