From f9f8d65340584d3ff59a39072af6e6086c466799 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Wed, 21 Jan 2026 13:44:26 +0800 Subject: [PATCH] chore(login): remove vote notification popup --- src/views/login/index.vue | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 23c4bc8e..14f6424f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -97,30 +97,6 @@ const formComponents = { register: defineAsyncComponent(() => import("./components/Register.vue")), resetPwd: defineAsyncComponent(() => import("./components/ResetPwd.vue")), }; - -let notificationInstance: ReturnType | null = null; - -const showVoteNotification = () => { - notificationInstance = ElNotification({ - title: "2025 CSDN 博客之星评选,诚邀支持!", - message: `文章整理了 youlai 全栈开源矩阵,并同步了 2026 路线图与年度计划。欢迎 点赞 / 收藏 支持~
点击查看评选文章`, - type: "success", - position: "bottom-left", - duration: 0, - dangerouslyUseHTMLString: true, - }); -}; - -onMounted(() => { - setTimeout(showVoteNotification, 500); -}); - -onBeforeUnmount(() => { - if (notificationInstance) { - notificationInstance.close(); - notificationInstance = null; - } -});