chat聊天功能
This commit is contained in:
@@ -478,16 +478,17 @@ export default defineComponent({
|
||||
operationType: "LOGIN",
|
||||
ip: "",
|
||||
};
|
||||
this.clearTimer()
|
||||
this.time = 60;
|
||||
this.emailStap = 2;
|
||||
this.emailCode = ["", "", "", "", "", ""];
|
||||
this.createTimer();
|
||||
|
||||
if (this.loginTime) {
|
||||
this.loginTime = false;
|
||||
Https.axiosPost(Https.httpUrls.schoolLogin, data)
|
||||
.then((rv: any) => {
|
||||
if (rv) {
|
||||
this.clearTimer()
|
||||
this.time = 60;
|
||||
this.emailStap = 2;
|
||||
this.emailCode = ["", "", "", "", "", ""];
|
||||
this.createTimer();
|
||||
this.userId = rv.userId;
|
||||
this.loginType = "email";
|
||||
localStorage.setItem("loginEmail", this.email);
|
||||
|
||||
Reference in New Issue
Block a user