We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ path: "/", name: "1111", component: TabsView, redirect: "/list/query", children: [ { path: "list", name: "222222", meta: { icon: "table", }, component: PageView, children: [ { path: "query", name: "222-1111", component: () => import("@/pages/list/questionnaire"), children: [ { path: "create", name: "3333333", meta: { invisible: true, }, //redirect: "create", component: () => import("@/pages/list/questionnaire/create"), }, ], }, ], },
create页面 <template>
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
what questions do you have?
在二级路由下添加 children 子路由即可。注意,你的所有父级页面都应该包含,不然子页面是无法显示的;
No branches or pull requests
{
path: "/",
name: "1111",
component: TabsView,
redirect: "/list/query",
children: [
{
path: "list",
name: "222222",
meta: {
icon: "table",
},
component: PageView,
children: [
{
path: "query",
name: "222-1111",
component: () => import("@/pages/list/questionnaire"),
children: [
{
path: "create",
name: "3333333",
meta: {
invisible: true,
},
//redirect: "create",
component: () => import("@/pages/list/questionnaire/create"),
},
],
},
],
},
The text was updated successfully, but these errors were encountered: