登录oa但是不强制

This commit is contained in:
砂糖
2025-07-14 15:32:04 +08:00
parent 77b77cd25b
commit 66169c3620
2 changed files with 5 additions and 3 deletions

View File

@@ -176,8 +176,11 @@ export default {
this.$store.dispatch("contact/getSentFriendApplications");
this.$store.dispatch("contact/getRecvGroupApplications");
this.$store.dispatch("contact/getSentGroupApplications");
// await getSMSCodeFromOa(this.loginInfo.phoneNumber);
// const info = await loginOaByPhone(this.loginInfo.phoneNumber)
// oa登录这个登录主要用于调用oa的API,登录失败也不影响核心的IM功能
getSMSCodeFromOa(this.loginInfo.phoneNumber).then(_ => {
const result = loginOaByPhone(this.loginInfo.phoneNumber);
console.log(result)
});
this.loginInfo.password = "";
this.loading = false;
uni.switchTab({