mirror of
https://github.com/certd/certd.git
synced 2026-04-27 06:57:25 +08:00
chore: project controller ok
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { useSettingStore } from "/@/store/settings";
|
||||
import aboutResource from "/@/router/source/modules/about";
|
||||
import i18n from "/@/locales/i18n";
|
||||
import { useProjectStore } from "/@/store/project";
|
||||
|
||||
export const certdResources = [
|
||||
{
|
||||
@@ -20,7 +21,10 @@ export const certdResources = [
|
||||
path: "/certd/project",
|
||||
component: "/certd/project/index.vue",
|
||||
meta: {
|
||||
show: true,
|
||||
show: () => {
|
||||
const projectStore = useProjectStore();
|
||||
return projectStore.isEnterprise;
|
||||
},
|
||||
icon: "ion:apps",
|
||||
permission: "sys:settings:edit",
|
||||
keepAlive: true,
|
||||
|
||||
Reference in New Issue
Block a user