feat: 添加艺术画板功能,比如可以用来绘制一些设计思想架构图

This commit is contained in:
xiaoxian521
2024-01-14 12:42:30 +08:00
parent c48291130c
commit 61c6ec230a
6 changed files with 39 additions and 7 deletions

View File

@@ -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
};

View 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;

View File

@@ -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
}
}
]