diff --git a/src/views/profile/index.vue b/src/views/profile/index.vue index dc862cae5..88e2fc154 100644 --- a/src/views/profile/index.vue +++ b/src/views/profile/index.vue @@ -19,6 +19,7 @@ type="info" /> { - const next_url = this.$store.state.users.profile.is_face_code_set ? '/core/auth/profile/face/disable/' : '/core/auth/profile/face/enable/' + const next_url = this.$store.state.users.profile.is_face_code_set + ? '/core/auth/profile/face/disable/' + : '/core/auth/profile/face/enable/' window.open(next_url, '_blank') } }