This commit is contained in:
2025-10-05 10:53:18 +08:00
parent 3be60ae50d
commit 70d4629e27

View File

@@ -116,12 +116,12 @@ export function useCodeSync() {
connected: false, connected: false,
roomUsers: 0, roomUsers: 0,
canSync: false, canSync: false,
message: `超管 ${superAdminInfo.name}退出`, message: `超管 ${superAdminInfo.name}离开`,
error: "超管已离开", error: "超管已离开",
}, },
onStatusChange, onStatusChange,
) )
message.warning(`超管 ${superAdminInfo.name} 溜了,协同编辑已断开连接`) message.warning(`超管 ${superAdminInfo.name} 已离开`)
stopSync() stopSync()
} }
} }