This commit is contained in:
eric
2026-03-16 20:39:19 -05:00
parent 473fa1a1cf
commit 9d45fede7f
4 changed files with 22 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ export function applyCompleteSuccess(data: { token?: string; record?: { wechatId
}
window.dispatchEvent(new CustomEvent("auth:updated"));
window.dispatchEvent(new CustomEvent("vip:updated"));
window.dispatchEvent(new CustomEvent("registration:refresh"));
if (record?.wechatId) {
try {
localStorage.setItem(WECHAT_STORAGE_KEY, record.wechatId);