Skip to content
New issue

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

请问如何在二级页面下新建一个三级页面 #318

Closed
sountstars opened this issue Sep 21, 2022 · 3 comments
Closed

请问如何在二级页面下新建一个三级页面 #318

sountstars opened this issue Sep 21, 2022 · 3 comments

Comments

@sountstars
Copy link

{
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>
新建11111111111
@sountstars
Copy link
Author

image

@sountstars
Copy link
Author

what questions do you have?

@iczer
Copy link
Owner

iczer commented Mar 27, 2023

在二级路由下添加 children 子路由即可。注意,你的所有父级页面都应该包含,不然子页面是无法显示的;

@iczer iczer closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants