update:优化多端登录

This commit is contained in:
2026-05-11 14:11:25 +08:00
parent 19391808ef
commit 8b9c862b96
3 changed files with 132 additions and 54 deletions

View File

@@ -46,6 +46,8 @@ function request(method, url, data = {}) {
`${uni.getAccountInfoSync().miniProgram.envVersion}_token`
);
uni.$emit("update-user");
reject({ type: "AUTH_INVALID", message });
return;
}
if (message === "ROOM_FULL") {
resolve({full: true});