const routes = [
{
path:"/HelloWorld",
component: HelloWorld
},
{
path: "/second",
component: second
},
//
{
path: "/",
redirect: HelloWorld
}
]
A second route is always displayed when it comes in. Click to switch, and set the default HelloWorld to make the initial route invalid. What"s the matter? (beginners of vue)