diff --git a/backend-fastapi/core/menu/service.py b/backend-fastapi/core/menu/service.py index 0376662..8e60997 100644 --- a/backend-fastapi/core/menu/service.py +++ b/backend-fastapi/core/menu/service.py @@ -26,6 +26,7 @@ AI_AGENT_ADMIN_MENU_NAMES = { "AIPlatform", "AIAgent", "AIWorkflow", + "AIWorkflowRuns", "KnowledgeBase", "Codex", "SystemConfigManager", diff --git a/web/apps/web-ele/src/layouts/basic.vue b/web/apps/web-ele/src/layouts/basic.vue index b914d30..c32febb 100644 --- a/web/apps/web-ele/src/layouts/basic.vue +++ b/web/apps/web-ele/src/layouts/basic.vue @@ -10,7 +10,6 @@ import { BasicLayout, LockScreen, UserDropdown } from '@vben/layouts'; import { $t } from '@vben/locales'; import { preferences } from '@vben/preferences'; import { useAccessStore, useUserStore } from '@vben/stores'; -import { openWindow } from '@vben/utils'; import NotificationPopup from '#/components/notification/NotificationPopup.vue'; import { getFileUrl } from '#/composables/useFileUrl'; @@ -95,13 +94,8 @@ const menus = computed(() => [ // }, ]); -const ZQ_PLATFORM_OFFICIAL_URL = 'https://zq-platform.com/'; /** 双列仅第一列窄条展示时的短文案 */ -const ZQ_PLATFORM_BRAND_SHORT = 'ZQ Platform'; - -function handleOpenZqOfficialSite() { - openWindow(ZQ_PLATFORM_OFFICIAL_URL, { target: '_blank' }); -} +const PRODUCT_BRAND_SHORT = 'AI Agent'; // 头像URL(响应式) const avatar = ref(''); @@ -223,17 +217,16 @@ watch( class="text-muted-foreground hover:text-foreground max-w-full px-1 py-0.5 text-center text-[11px] leading-tight transition-colors" :title=" sidebarFooterProps?.compact - ? ZQ_PLATFORM_BRAND_SHORT + ? PRODUCT_BRAND_SHORT : $t('ui.layout.poweredBy') " - @click="handleOpenZqOfficialSite" > {{ sidebarFooterProps?.compact - ? ZQ_PLATFORM_BRAND_SHORT + ? PRODUCT_BRAND_SHORT : $t('ui.layout.poweredBy') }}