Default / 默认 · August 31, 2021

“framework7获取路径参数”

Table of Content

  {{$route.params.VideoId}}

$route has the following properties:
$route.url Url of the loaded route/page
$route.params Object with route parameters (e.g. userId and postId in the example above)
$route.hash Route hash
$route.query Parsed query object
$route.path Route path (same as $route.url but without query and hash)
$route.route Matched route from specified routes parameter
%d bloggers like this: