登录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({
|
||||
|
||||
@@ -305,7 +305,6 @@ export const tipMessaggeFormat = (msg, currentUserID) => {
|
||||
case MessageType.RevokeMessage:
|
||||
try {
|
||||
const revokeDetails = JSON.parse(msg.notificationElem.detail);
|
||||
console.log(revokeDetails, '撤回消息')
|
||||
const revokerID = revokeDetails.revokerID;
|
||||
const revokerName = revokeDetails.revokerNickname || "未知用户";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user