[vue-router] Duplicate named routes definition

浏览器告警信息 [vue-router] Duplicate named routes definition: { name: “index”, path: “/index” }

  • 说明路由命名的name属性重复
  • 举 例 { path: ‘’, name: ‘index’, redirect: ‘/fiibox/personHome’ },
  • 改正: { path: ‘’, name: ‘’, redirect: ‘/fiibox/personHome’ },

发表评论

电子邮件地址不会被公开。 必填项已用*标注