Co-authored-by: Germey <cqc@cuiqingcai.com>
This commit is contained in:
HCodeandGermey authored and GitHub committed 2025-10-19 07:29:12 +00:00
1 parent 36f5dc04d1
commit 0e93a2b945
141 files changed
+7410 -1485

No files matched your search

+13
View File
@@ -46,6 +46,8 @@ import {
ROUTE_PIXVERSE_HISTORY,
ROUTE_VEO_INDEX,
ROUTE_VEO_HISTORY,
ROUTE_SORA_INDEX,
ROUTE_SORA_HISTORY,
ROUTE_NANOBANANA_INDEX
} from '@/router/constants';
import { CHAT_MODEL_ICON_CHATGPT, CHAT_MODEL_ICON_DEEPSEEK, CHAT_MODEL_ICON_GROK } from '@/constants/chat';
@@ -220,6 +222,17 @@ export default defineComponent({
routes: [ROUTE_VEO_INDEX, ROUTE_VEO_HISTORY]
});
}
// Add sora's leftmost icon
if (this.$store?.state?.site?.features?.sora?.enabled) {
result.push({
route: {
name: ROUTE_SORA_INDEX
},
displayName: this.$t('common.nav.sora'),
logo: 'https://cdn.acedata.cloud/z5id1u.png',
routes: [ROUTE_SORA_INDEX, ROUTE_SORA_HISTORY]
});
}
// Add pixverse's leftmost icon
if (this.$store?.state?.site?.features?.pixverse?.enabled) {
result.push({