feat: 前端新增图片生成功能

This commit is contained in:
Gsh
2026-01-03 15:16:18 +08:00
parent 5bb7dfb7cd
commit a3259ad36f
11 changed files with 1343 additions and 21 deletions

View File

@@ -6,6 +6,11 @@ import { useRoute, useRouter } from 'vue-router';
const route = useRoute();
const router = useRouter();
// 从 URL 中提取邀请码参数
const inviteCodeFromUrl = computed(() => {
return route.query.inviteCode as string | undefined;
});
// 控制侧边栏折叠状态
const isCollapsed = ref(false);
@@ -103,7 +108,7 @@ window.addEventListener('resize', checkIsMobile);
</div>
<router-view v-slot="{ Component }">
<keep-alive>
<component :is="Component" />
<component :is="Component" :external-invite-code="inviteCodeFromUrl" />
</keep-alive>
</router-view>
</div>