feat(client): 实现可编辑岛组件方案与连接更新状态反馈

This commit is contained in:
LoveChengke committed 2026-10-17 12:55:39 +08:00
1 parent 35b252249d
commit b990701cde
26 files changed
+2014 -275

No files matched your search

@@ -0,0 +1,6 @@
import { EventEmitter } from 'node:events';
export type ConnectionEvent = 'server-changed' | 'token-changed' | 'login' | 'logout';
export const connectionEvents = new EventEmitter();
export function connectionChanged(event: ConnectionEvent) {
connectionEvents.emit('changed', event);
}