Home > react-nav-router > NavRouteContextValue > length
NavRouteContextValue.length property
当前路由栈的长度
可用于判断"是否可以回退":length > 1 表示栈中除当前页外还有上一层。
Signature:
typescript
length: number;Home > react-nav-router > NavRouteContextValue > length
当前路由栈的长度
可用于判断"是否可以回退":length > 1 表示栈中除当前页外还有上一层。
Signature:
length: number;