fix: 修复个人中心无法查看
This commit is contained in:
1 parent
57652ae581
commit
2911a5436f
7 files changed
+4
-361
No files matched your search
@@ -6,9 +6,11 @@ import { inject } from 'vue';
|
||||
import {
|
||||
User, Mail, Building, CreditCard, Globe, Save, Palette,
|
||||
} from 'lucide-vue-next';
|
||||
import { USER_PROFILE_KEY } from '../composables/user-profile.context';
|
||||
import { WORKSPACE_KEY } from '@/features/workspace/composables/workspace.context';
|
||||
|
||||
const userProfile = inject(USER_PROFILE_KEY)!;
|
||||
// 个人资料与改密状态由工作台 useWorkspaceProfile 编排,经 WORKSPACE_KEY 注入。
|
||||
// 这里复用同一份 ws 上下文(含 profileUser/主题/移动端/登出能力),避免与工作台状态分叉。
|
||||
const userProfile = inject(WORKSPACE_KEY)!;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in new issue
Block a user