接入oa-api
This commit is contained in:
@@ -109,6 +109,7 @@ import AreaPicker from "@/components/AreaPicker";
|
||||
import { checkLoginError } from "@/util/common";
|
||||
import { SmsUserFor } from "@/constant";
|
||||
import IMSDK from "openim-uniapp-polyfill";
|
||||
import { getSMSCodeFromOa, loginOaByPhone } from "../../api/oa/login";
|
||||
|
||||
let timer;
|
||||
|
||||
@@ -219,6 +220,8 @@ export default {
|
||||
uni.switchTab({
|
||||
url: "/pages/conversation/conversationList/index",
|
||||
});
|
||||
await getSMSCodeFromOa(this.loginInfo.phoneNumber);
|
||||
await loginOaByPhone(this.loginInfo.phoneNumber)
|
||||
this.loginInfo.password = "";
|
||||
|
||||
this.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user