fix
This commit is contained in:
@@ -313,6 +313,7 @@ export default defineComponent({
|
||||
email: this.email,
|
||||
operationType: "LOGIN",
|
||||
};
|
||||
|
||||
Https.axiosPost(Https.httpUrls.accountSendEmail, data).then(
|
||||
(rv: any) => {
|
||||
if (rv) {
|
||||
@@ -376,6 +377,8 @@ export default defineComponent({
|
||||
|
||||
//提交账号密码预先登录
|
||||
submitPerLogin() {
|
||||
|
||||
|
||||
//输入账号密码
|
||||
if(this.emailStap>=2){
|
||||
return;
|
||||
@@ -473,16 +476,11 @@ export default defineComponent({
|
||||
setCookie("isBeginnerNum", 0);//从第一步开始,机器人开始的话就是从第二部开始
|
||||
setCookie("userInfo", JSON.stringify(rv));
|
||||
this.store.commit("setSystemUser",rv.systemUser)
|
||||
if(rv.systemUser == 0){
|
||||
this.turnToHomePage('/');
|
||||
}else{
|
||||
this.turnToHomePage('/home');
|
||||
}
|
||||
|
||||
sessionStorage.setItem('isTimeOne', JSON.stringify(false));//是否需要公告 提示 弹窗
|
||||
let randomNum:any = Math.floor(Math.random() * 9000000000000000) + 1000000000000000;
|
||||
sessionStorage.setItem('sessionId', randomNum);
|
||||
sessionStorage.setItem('record', JSON.stringify([]))
|
||||
this.$router.go(0);
|
||||
}
|
||||
}
|
||||
).catch(res=>{
|
||||
|
||||
Reference in New Issue
Block a user