From bac35c69bfc8f6f37b5f5f16de92e9d55a6aa3a7 Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Thu, 19 Dec 2024 17:46:41 +0800 Subject: [PATCH] feat: facelive add license check --- src/views/profile/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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') } }