mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: 添加常用按钮示例
This commit is contained in:
@@ -123,7 +123,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/able/videoFrame",
|
||||
path: "/able/video-frame",
|
||||
name: "VideoFrame",
|
||||
component: () => import("@/views/able/video-frame/index.vue"),
|
||||
meta: {
|
||||
@@ -139,7 +139,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/able/infiniteScroll",
|
||||
path: "/able/infinite-scroll",
|
||||
name: "InfiniteScroll",
|
||||
component: () => import("@/views/able/infinite-scroll.vue"),
|
||||
meta: {
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/able/menuTree",
|
||||
path: "/able/menu-tree",
|
||||
name: "MenuTree",
|
||||
component: () => import("@/views/able/menu-tree.vue"),
|
||||
meta: {
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/able/lineTree",
|
||||
path: "/able/line-tree",
|
||||
name: "LineTree",
|
||||
component: () => import("@/views/able/line-tree.vue"),
|
||||
meta: {
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/iconSelect",
|
||||
path: "/components/icon-select",
|
||||
name: "IconSelect",
|
||||
component: () => import("@/views/components/icon-select.vue"),
|
||||
meta: {
|
||||
@@ -51,7 +51,23 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/checkButton",
|
||||
path: "/components/segmented",
|
||||
name: "Segmented",
|
||||
component: () => import("@/views/components/segmented.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hssegmented")
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/el-button",
|
||||
name: "PureButton",
|
||||
component: () => import("@/views/components/el-button.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsElButton")
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/check-button",
|
||||
name: "CheckButton",
|
||||
component: () => import("@/views/components/check-button.vue"),
|
||||
meta: {
|
||||
@@ -60,11 +76,11 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/segmented",
|
||||
name: "Segmented",
|
||||
component: () => import("@/views/components/segmented.vue"),
|
||||
path: "/components/button",
|
||||
name: "ButtonPage",
|
||||
component: () => import("@/views/components/button.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hssegmented")
|
||||
title: $t("menus.hsbutton")
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -92,7 +108,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/splitPane",
|
||||
path: "/components/split-pane",
|
||||
name: "SplitPane",
|
||||
component: () => import("@/views/components/split-pane.vue"),
|
||||
meta: {
|
||||
@@ -116,7 +132,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/countTo",
|
||||
path: "/components/count-to",
|
||||
name: "CountTo",
|
||||
component: () => import("@/views/components/count-to.vue"),
|
||||
meta: {
|
||||
@@ -140,7 +156,7 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/seamlessScroll",
|
||||
path: "/components/seamless-scroll",
|
||||
name: "SeamlessScroll",
|
||||
component: () => import("@/views/components/seamless-scroll.vue"),
|
||||
meta: {
|
||||
@@ -148,20 +164,12 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/virtualList",
|
||||
path: "/components/virtual-list",
|
||||
name: "VirtualList",
|
||||
component: () => import("@/views/components/virtual-list/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsVirtualList")
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/components/button",
|
||||
name: "ButtonPage",
|
||||
component: () => import("@/views/components/button.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsbutton")
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
|
||||
@@ -2,8 +2,8 @@ import { $t } from "@/plugins/i18n";
|
||||
import { flowchart } from "@/router/enums";
|
||||
|
||||
export default {
|
||||
path: "/flowChart",
|
||||
redirect: "/flowChart/index",
|
||||
path: "/flow-chart",
|
||||
redirect: "/flow-chart/index",
|
||||
meta: {
|
||||
icon: "setUp",
|
||||
title: $t("menus.hsflowChart"),
|
||||
@@ -11,7 +11,7 @@ export default {
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/flowChart/index",
|
||||
path: "/flow-chart/index",
|
||||
name: "FlowChart",
|
||||
component: () => import("@/views/flow-chart/index.vue"),
|
||||
meta: {
|
||||
|
||||
@@ -3,8 +3,8 @@ import { formdesign } from "@/router/enums";
|
||||
const IFrame = () => import("@/layout/frameView.vue");
|
||||
|
||||
export default {
|
||||
path: "/formDesign",
|
||||
redirect: "/formDesign/index",
|
||||
path: "/form-design",
|
||||
redirect: "/form-design/index",
|
||||
meta: {
|
||||
icon: "terminalWindowLine",
|
||||
title: $t("menus.hsFormDesign"),
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/formDesign/index",
|
||||
path: "/form-design/index",
|
||||
name: "FormDesign",
|
||||
component: IFrame,
|
||||
meta: {
|
||||
|
||||
Reference in New Issue
Block a user