Files
certd/packages/ui/certd-client/src/router/source/modules/about.tsx
2025-03-10 16:06:40 +08:00

42 lines
989 B
TypeScript

import { IFrameView } from "/@/vben/layouts";
import { useSettingStore } from "/@/store/modules/settings";
import { computed } from "vue";
import TutorialButton from "/@/components/tutorial/index.vue";
export const aboutResource = [
{
title: "文档",
name: "document",
path: "/about/doc",
component: IFrameView,
meta: {
icon: "lucide:book-open-text",
link: "https://certd.docmirror.cn",
title: "文档",
order: 9999,
show: () => {
const settingStore = useSettingStore();
return !settingStore.isComm;
}
}
},
{
title: "教程",
name: "help",
path: "/help",
meta: {
icon: "lucide:copyright",
order: 9999,
show: () => {
const settingStore = useSettingStore();
return !settingStore.isComm;
},
slot() {
return <TutorialButton className="flex-center" show-icon={false} />;
},
click() {}
}
}
];
export default aboutResource;