This commit is contained in:
2025-10-10 10:37:11 +08:00
parent 05882bb3d3
commit 0ca5daad3b
12 changed files with 58 additions and 58 deletions

View File

@@ -56,7 +56,7 @@ Vue Desktop 使用分层的事件管理系统:
```mermaid
graph TD
A[SystemServiceIntegration] --> B[EventCommunicationService]
A --> C[WindowService]
A --> C[WindowFormService]
A --> D[ResourceService]
B --> E[IEventBuilder]
@@ -114,7 +114,7 @@ constructor(config: SystemServiceConfig = {}) {
// 注入到依赖的服务中
// EventCommunicationService 需要 IEventBuilder 接口
// WindowService 也需要 IEventBuilder 接口
// WindowFormService 也需要 IEventBuilder 接口
}
```

View File

@@ -17,7 +17,7 @@ graph TD
A --> D[事件系统]
A --> E[应用注册中心]
B --> B1[WindowService]
B --> B1[WindowFormService]
B --> B2[ResourceService]
B --> B3[EventCommunicationService]
B --> B4[ApplicationSandboxEngine]
@@ -39,7 +39,7 @@ graph TD
| 模块 | 职责 |
| --------------------------- | ---------------------------------- |
| WindowService | 管理应用窗体的创建、销毁、状态控制 |
| WindowFormService | 管理应用窗体的创建、销毁、状态控制 |
| ResourceService | 管理应用资源访问权限和存储 |
| EventCommunicationService | 处理应用间通信 |
| ApplicationSandboxEngine | 为外部应用创建安全沙箱环境 |

View File

@@ -26,7 +26,7 @@ graph TB
end
subgraph "系统服务层"
WindowService[窗体服务]
WindowFormService[窗体服务]
ResourceService[资源服务]
EventService[事件服务]
SecurityService[安全服务]
@@ -47,7 +47,7 @@ graph TB
end
Desktop --> WindowManager
WindowManager --> WindowService
WindowManager --> WindowFormService
AppContainer --> SandboxEngine
SDKBridge --> SystemService[系统服务层]
App1 --> AppContainer