feat: add Multi-level menu

This commit is contained in:
xiaoxian521
2021-05-21 12:55:23 +08:00
parent cd872bea83
commit 010ba1a9e1
21 changed files with 501 additions and 326 deletions

View File

@@ -0,0 +1,27 @@
import Layout from "/@/layout/index.vue";
const flowChartRouter = {
path: "/flowChart",
name: "flowChart",
component: Layout,
redirect: "/flowChart/index",
children: [
{
path: "/flowChart/index",
component: () => import("/@/views/flow-chart/index.vue"),
meta: {
title: "message.hsflowChart",
showLink: false,
savedPosition: true,
},
},
],
meta: {
icon: "el-icon-set-up",
title: "message.hsflowChart",
showLink: true,
savedPosition: true,
},
};
export default flowChartRouter;