chat聊天功能
This commit is contained in:
@@ -460,11 +460,7 @@ export default defineComponent({
|
||||
ip: "",
|
||||
};
|
||||
// this.loginType = 'email'
|
||||
this.clearTimer()
|
||||
this.time = 60;
|
||||
this.emailStap = 2;
|
||||
this.emailCode = ["", "", "", "", "", ""];
|
||||
this.createTimer();
|
||||
|
||||
if (this.loginTime) {
|
||||
this.loginTime = false;
|
||||
Https.axiosPost(Https.httpUrls.preLogin, data)
|
||||
@@ -473,6 +469,12 @@ export default defineComponent({
|
||||
// this.loginType = 'email'
|
||||
// }
|
||||
if (rv) {
|
||||
this.clearTimer()
|
||||
this.time = 60;
|
||||
this.emailStap = 2;
|
||||
this.emailCode = ["", "", "", "", "", ""];
|
||||
this.createTimer();
|
||||
|
||||
this.userId = rv.userId;
|
||||
this.loginType = "email";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user