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:
@@ -16,9 +16,10 @@ const home = 0, // 平台规定只有 home 路由的 rank 才能为 0 ,所以
|
||||
editor = 13,
|
||||
flowchart = 14,
|
||||
formdesign = 15,
|
||||
ppt = 16,
|
||||
guide = 17,
|
||||
menuoverflow = 18;
|
||||
board = 16,
|
||||
ppt = 17,
|
||||
guide = 18,
|
||||
menuoverflow = 19;
|
||||
|
||||
export {
|
||||
home,
|
||||
@@ -34,10 +35,11 @@ export {
|
||||
system,
|
||||
tabs,
|
||||
about,
|
||||
formdesign,
|
||||
flowchart,
|
||||
ppt,
|
||||
editor,
|
||||
flowchart,
|
||||
formdesign,
|
||||
board,
|
||||
ppt,
|
||||
guide,
|
||||
menuoverflow
|
||||
};
|
||||
|
||||
25
src/router/modules/board.ts
Normal file
25
src/router/modules/board.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { $t } from "@/plugins/i18n";
|
||||
import { board } from "@/router/enums";
|
||||
const IFrame = () => import("@/layout/frameView.vue");
|
||||
|
||||
export default {
|
||||
path: "/board",
|
||||
redirect: "/board/index",
|
||||
meta: {
|
||||
icon: "artboard",
|
||||
title: $t("menus.hsboard"),
|
||||
rank: board
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/board/index",
|
||||
name: "FrameBoard",
|
||||
component: IFrame,
|
||||
meta: {
|
||||
title: $t("menus.hsboard"),
|
||||
frameSrc: "https://songlh.top/paint-board/",
|
||||
extraIcon: "IF-pure-iconfont-new svg"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
@@ -18,7 +18,8 @@ export default {
|
||||
meta: {
|
||||
title: $t("menus.hsFormDesign"),
|
||||
frameSrc:
|
||||
"https://haixin-fang.github.io/vue-form-design/playground/index.html"
|
||||
"https://haixin-fang.github.io/vue-form-design/playground/index.html",
|
||||
frameLoading: false
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user