企业信息补全页面开发

This commit is contained in:
冯辉
2025-10-21 22:58:47 +08:00
parent 968e6b4091
commit 8bb3c424e2
61 changed files with 2793375 additions and 812 deletions

View File

@@ -76,7 +76,7 @@ const useUserStore = defineStore("user", () => {
// 只有在明确需要跳转时才跳转到登录页
if (redirect) {
uni.redirectTo({
url: '/pages/login/login',
url: '/pages/complete-info/complete-info',
});
}
}

View File

@@ -153,7 +153,11 @@ const useChatGroupDBStore = defineStore("messageGroup", () => {
};
});
}
window.addEventListener("unload", handleUnload);
// #ifdef H5
if (typeof window !== 'undefined') {
window.addEventListener("unload", handleUnload);
}
// #endif
function onDataReceived(data) {
// 支持追加多个部分
@@ -180,7 +184,11 @@ const useChatGroupDBStore = defineStore("messageGroup", () => {
...newMsg
};
toggleTyping(false);
window.removeEventListener("unload", handleUnload);
// #ifdef H5
if (typeof window !== 'undefined') {
window.removeEventListener("unload", handleUnload);
}
// #endif
handleUnload();
// 调用外部传入的onComplete回调
if (options.onComplete) {