变更:修复求婚同意消息未收到问题,重构求婚流程支持直接选婚礼档位
This commit is contained in:
@@ -77,19 +77,19 @@ export function initChat(roomId) {
|
||||
);
|
||||
})
|
||||
// ─── 婚姻系统:全局事件(广播给整个房间) ────────────────
|
||||
.listen("MarriageAccepted", (e) => {
|
||||
.listen(".marriage.accepted", (e) => {
|
||||
console.log("结婚公告:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:marriage-accepted", { detail: e }),
|
||||
);
|
||||
})
|
||||
.listen("MarriageDivorced", (e) => {
|
||||
.listen(".marriage.divorced", (e) => {
|
||||
console.log("离婚公告:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:marriage-divorced", { detail: e }),
|
||||
);
|
||||
})
|
||||
.listen("WeddingCelebration", (e) => {
|
||||
.listen(".wedding.celebration", (e) => {
|
||||
console.log("婚礼庆典:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:wedding-celebration", { detail: e }),
|
||||
|
||||
Reference in New Issue
Block a user