完整url:window.location.href
路由路径:this.
r
o
u
t
e
.
p
a
t
h
路
由
路
径
参
数
:
t
h
i
s
.
route.path 路由路径参数:this.
route.path路由路径参数:this.route.params
Vue——vue获取页面当前路由的方式
最新推荐文章于 2024-04-16 00:25:02 发布