A邱凌

关注

第21天 Vue路由$route 和 $router 的区别

A邱凌

关注

阅读 53

2022-01-06

  • $route 是“路由信息对象”,包括 path , params , hash , query , fullPath , matched
    , name 等路由信息参数。
  • ⽽ $router 是“路由实例”对象包括了路由的跳转⽅法,钩⼦函数等

相关推荐

Gascognya

67、vue $router和$route的区别

Gascognya 57 0 0

七公子706

route和router的区别

七公子706 12 0 0

月白色的大狒

【网络】route和 IP route的区别|route 和 IP route 添加路由

月白色的大狒 106 0 0

木匠0819

[vue-router] Route with name ‘路由名称‘ does not exist,报错[vue-router] Route with name ‘ ‘ does not exist

木匠0819 89 0 0

东言肆语

vue3中的route和router

东言肆语 18 0 0

闲鱼不咸_99f1

深入理解 Vue Router 及其 `router` 和 `route` 变量

闲鱼不咸_99f1 9 0 0

GG_lyf

Vue中this.$router 和this.$route的理解

GG_lyf 74 0 0

E_topia

Vue路由-Vue Router

E_topia 56 0 0

逸省

Vue 路由 Router

逸省 51 0 0

alonwang

VUE中的路由router

alonwang 112 0 0

精彩评论(0)

0 0 举报