Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

18 lines
472 B
HTML

<!DOCTYPE html>
<html>
<body>
<h2>模拟模块B</h2>
<div id="messages"></div>
<script>
EventBus.on('mock-a:click', function(data) {
const div = document.getElementById('messages');
div.innerHTML += '<p>收到模块A消息: ' + JSON.stringify(data) + '</p>';
// 回复消息
EventBus.emit('mock-b:reply', { message: '已收到,谢谢!' });
});
</script>
</body>
</html>