From bf3f9570ca54d93bca04280d13b7388ba30d0dcc Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 27 May 2020 19:54:55 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=EF=BC=88?= =?UTF-8?q?2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/userviews/users/UserProfile.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/userviews/users/UserProfile.vue b/src/userviews/users/UserProfile.vue index 3331a7195..8ae88421f 100644 --- a/src/userviews/users/UserProfile.vue +++ b/src/userviews/users/UserProfile.vue @@ -51,10 +51,12 @@ export default { title: this.$t('assets.UpdateMFA'), attrs: { type: 'primary', - label: this.$t('common.Reset') + label: this.$t('common.Update') }, callbacks: { - click: function() {} + click: function() { + window.location.href = `/users/profile/otp/update/?next=${this.$route.fullPath}` + }.bind(this) } }, {