fix: 主体身份接入项目阶段刷新上下文

This commit is contained in:
GouJ committed 2026-09-26 21:37:35 +08:00
1 parent 4303a7c096
commit 86e7182afa
1 file changed
+1
@@ -25,6 +25,7 @@ function assertIdentity(value: SubjectIdentity, id: string) {
/** 主体目录、项目风格和当前身份分开查询,未创建 Identity 不误报为空图库错误。 */
export function useSubjectIdentity() {
const { projectId, operation, blocked: projectBlocked } = useProjectMutationGuard()
const projectContext = useProjectContext()
const selectedId = ref('')
const editorRevision = ref(0)
const dirty = ref(false)