router和route區別(bie)
-
router和route區別,Router路由實例和route路由對象有什么區別?分別說說它們的屬性
路由實(shi)例(li)Router實(shi)例(li)屬性router.app類(lei)型: Vue instance配置(zhi)了(le) router 的 Vue 根實(shi)例(li)。router.mode類(lei)型: string路由使(shi)用(yong)的模式(shi)。router.currentRoute類(lei)型: Route當前(qian)路由對(dui)應的路由信息(xi)!…