ITPub博客

首页 > 应用开发 > > vue路由跳转

vue路由跳转

作者:petterchx 时间:2019-08-05 17:12:52 0 删除 编辑

{

path: '/home',

component: Home,

redirect:'/home/index',

children: [

{

path: 'index',

component: MyHome

},

{

path: 'self_test',

component: SelfTest

},

{

path: 'owm_info',

component: OwnInfo

},

]

},

{

path: '/testing',

component: Testing

},

我从/home/self_test进入到testing路由 是可以的 然后再从/testing路由返回到/home/self_test路由  地址栏路径瞬间变成了/index  有没有哪位大佬 可以解答一下  万分感谢

404s will fallback to /index.html 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4606/viewspace-3150462/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Java项目线程阻塞
请登录后发表评论 登录
全部评论

注册时间:2019-10-24

  • 博文量
    131
  • 访问量
    30134