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

View File

@@ -305,7 +305,6 @@ export const tipMessaggeFormat = (msg, currentUserID) => {
case MessageType.RevokeMessage: case MessageType.RevokeMessage:
try { try {
const revokeDetails = JSON.parse(msg.notificationElem.detail); const revokeDetails = JSON.parse(msg.notificationElem.detail);
console.log(revokeDetails, '撤回消息')
const revokerID = revokeDetails.revokerID; const revokerID = revokeDetails.revokerID;
const revokerName = revokeDetails.revokerNickname || "未知用户"; const revokerName = revokeDetails.revokerNickname || "未知用户";