From 9cd45064ca8823feef1a76ffadf92efa9c1af015 Mon Sep 17 00:00:00 2001 From: Megghy Date: Mon, 18 Dec 2023 21:50:37 +0800 Subject: [PATCH] fix cookie --- src/views/ManageLayout.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/ManageLayout.vue b/src/views/ManageLayout.vue index 9a6356d..bc6998e 100644 --- a/src/views/ManageLayout.vue +++ b/src/views/ManageLayout.vue @@ -60,6 +60,7 @@ const type = computed(() => { } return '' }) +const cookie = useStorage('JWT_Token', '') const canResendEmail = ref(false) @@ -171,6 +172,7 @@ const menuOptions = [ ), key: 'manage-videoCollect', icon: renderIcon(VideoAdd20Filled), + disabled: accountInfo.value?.isEmailVerified == false, //disabled: accountInfo.value?.isEmailVerified == false, }, { @@ -245,6 +247,7 @@ const menuOptions = [ ]), key: 'manage-danmaku', icon: renderIcon(Chat24Filled), + disabled: accountInfo.value?.isEmailVerified == false, //disabled: accountInfo.value?.isEmailVerified == false, children: [ {