diff --git a/src/components/MFA/index.vue b/src/components/MFA/index.vue index b8089037..02a9edd7 100644 --- a/src/components/MFA/index.vue +++ b/src/components/MFA/index.vue @@ -6,6 +6,7 @@ width="540px" :close-on-click-modal="false" append-to-body + center :show-close="status === 'login'" @close="cancel" > @@ -17,21 +18,23 @@ label-position="right" :model="form" :rules="rules" - label-width="120px" + label-width="100px" > + +

+ + {{ tip }} +

- - - - - + {{ form.username }}
- + - + {{ status === "login" ? $t("mfa:button:save") @@ -65,6 +74,7 @@ export default { data() { return { status: "login", // lock + tip: null, visible: false, loading: false, timer: null, @@ -110,6 +120,7 @@ export default { this.form.username = username; this.form.EMail = EMail; this.visible = true; + this.tip = this.$t("mfa:tip").replace("xx", EMail); }, cancel() { this.visible = false; @@ -169,4 +180,19 @@ export default { } }, }; - \ No newline at end of file + + \ No newline at end of file