feat: 新增组件-可选按钮示例

This commit is contained in:
xiaoxian521
2024-01-18 17:40:22 +08:00
parent 4c80abfe55
commit 70c865b748
6 changed files with 297 additions and 14 deletions

View File

@@ -4,11 +4,11 @@ const home = 0, // 平台规定只有 home 路由的 rank 才能为 0 ,所以
able = 1,
components = 2,
table = 3,
frame = 4,
nested = 5,
result = 6,
error = 7,
list = 8,
list = 4,
result = 5,
error = 6,
frame = 7,
nested = 8,
permission = 9,
system = 10,
tabs = 11,
@@ -26,11 +26,11 @@ export {
able,
components,
table,
frame,
nested,
list,
result,
error,
list,
frame,
nested,
permission,
system,
tabs,

View File

@@ -15,8 +15,7 @@ export default {
name: "DialogPage",
component: () => import("@/views/components/dialog/index.vue"),
meta: {
title: $t("menus.hsdialog"),
extraIcon: "IF-pure-iconfont-new svg"
title: $t("menus.hsdialog")
}
},
{
@@ -51,13 +50,21 @@ export default {
title: $t("menus.hscropping")
}
},
{
path: "/components/checkButton",
name: "CheckButton",
component: () => import("@/views/components/check-button.vue"),
meta: {
title: $t("menus.hsCheckButton"),
extraIcon: "IF-pure-iconfont-new svg"
}
},
{
path: "/components/segmented",
name: "Segmented",
component: () => import("@/views/components/segmented.vue"),
meta: {
title: $t("menus.hssegmented"),
extraIcon: "IF-pure-iconfont-new svg"
title: $t("menus.hssegmented")
}
},
{

View File

@@ -52,8 +52,7 @@ export default {
name: "Menu1-2-2",
meta: {
title: $t("menus.hsmenu1-2-2"),
keepAlive: true,
extraIcon: "IF-pure-iconfont-new svg"
keepAlive: true
}
}
]