{
path: "/item",
component: Layout,
meta: {
title: "",
icon: "example"
},
children: [
{
path: "check/:id",
name: "item",
component: () => import("@/views/nested/menu2/index"),
meta:{title: "", icon: "form"}
},
}
this kind of dynamic routing does not know how to bind to the menu of element-ui. The value of index binds path and name routes incorrectly, and no relevant information is found. I hope God can help
.add: generally speaking, it contains multiple items, and this sidebar will be displayed when you enter each project, so you want to carry the id of the project as the logo after the route. But the current dilemma is that I have tried a variety of methods but do not know how to bind. I hope that a great god who is familiar with element-ui can give me some advice
.