VUE控制台报错: [vue-router] Duplicate named routes definition: { name: "NotFound", path: "*" }
VUE控制台报错: [vue-router] Duplicate named routes definition: { name: "NotFound", path: "*" }将下面写法{path: "*",name: 'NotFound',redirect: "/404"}改为{path: "*",redirect: {name: ...
·
VUE控制台报错: [vue-router] Duplicate named routes definition: { name: "NotFound", path: "*" }
将下面写法
{
path: "*",
name: 'NotFound',
redirect: "/404"
}
改为
{
path: "*",
redirect: {
name: 'NotFound',
}
}
更多推荐
已为社区贡献27条内容
所有评论(0)