Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is running Details

uat_us
caiyiling 2025-01-03 09:38:14 +08:00
commit 5328217853
2 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ export default {
second: 60,
form: {
Code: null,
UserId: null,
IdentityUserId: null,
EMail: null,
username: null,
},
@ -115,7 +115,7 @@ export default {
methods: {
open(data) {
let { UserId, status, username, EMail } = data;
this.form.UserId = UserId;
this.form.IdentityUserId = UserId;
this.status = status ? status : "login";
this.form.username = username;
this.form.EMail = EMail;
@ -137,7 +137,7 @@ export default {
if (this.status === "login") {
this.$message.success(this.$t("mfa:message:verifySuccess"));
}
this.$emit("success", this.form.UserId);
this.$emit("success", this.form.IdentityUserId);
this.cancel();
}
} catch (err) {
@ -154,7 +154,7 @@ export default {
this.timer = null;
}
let data = {
UserId: this.form.UserId,
UserId: this.form.IdentityUserId,
};
if (this.status === "lock") {
data.MfaType = 1;

View File

@ -417,7 +417,7 @@ export default {
return
} else if (res.IsMFA) {
this.$MFA({
UserId: res.BasicInfo.Id,
UserId: res.BasicInfo.IdentityUserId,
EMail: res.BasicInfo.EMail,
username: this.loginForm.username,
callBack: this.loginIn,