哈希路由器
location.hash 的路由器
文件
示例网址: :
$router.path
console . log ( $router . path ) ; // aaa/bbb/ccc?x=1&y=2&y=3&z
$router . path = 'ccc/ddd' ;
console . log ( $router . path ) ; // ccc/ddd
$router.pathname
console . log ( $router . pathname ) ; // aaa/bbb/ccc
$router . pathname = 'ccc/ddd' ;
console . log ( $router . path ) ; // ccc/ddd?x=1&y=2&y=3&z
$router.search
console . log ( $router .
评论0
最新资源