UNPKG
@antdp/authorized
Version:
bate (2.0.0-bate.5)
latest (2.1.2)
2.1.2
2.1.1
2.1.0
2.0.24
2.0.23
2.0.22
2.0.21
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-bate6
2.0.0-bate-4.1
2.0.0-bate-2
2.0.0-bate-1
2.0.0-bate-0
2.0.0-bate.5
2.0.0-bate.4.0
2.0.0-bate.4
2.0.0-bate.3
1.9.1
1.9.0
1.8.27
1.8.26
1.8.25
1.8.24
1.8.23
1.8.22
1.8.21
1.8.20
1.8.19
1.8.18
1.8.17
1.8.16
1.8.15
1.8.14
1.8.13
1.8.12
1.8.11
1.8.10
1.8.9
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.0
1.6.19
1.6.18
1.6.17
1.6.16
1.6.15
1.6.14
1.6.13
1.6.11
1.6.10
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.0
1.5.4
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.23
1.1.22
1.1.21
通过判断是否进入主界面还是登录界面。
antdpro.github.io/antdp
antdpro/antdp
@antdp/authorized
/
lib
/
format.d.ts
10 lines
(9 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
GetAuthorizedPageProps
}
from
'.'
;
/** *
@description
: 页面权限 * authMenus 权限路由 *
@param
{
Array
} allRouters 原始 routes.json 文件中路由 *
@param
{
string
} pathname 当前路径 *
@return
{
*
} */
export
declare
const
getFormatPage
:
GetAuthorizedPageProps
;