快捷导航

vue路由跳转

{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

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员2

看看是不是你写的重定向引起的~~
回复

使用道具 举报

问题没头没尾的
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP