登录oa但是不强制
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user