Default / 默认 · 8月 31, 2021

“framework7获取路径参数”

内容纲要

  {{$route.params.VideoId}}

$route has the following properties:
$route.urlUrl of the loaded route/page
$route.paramsObject with route parameters (e.g. userId and postId in the example above)
$route.hashRoute hash
$route.queryParsed query object
$route.pathRoute path (same as $route.url but without query and hash)
$route.routeMatched route from specified routes parameter
%d 博主赞过: