chore(deps): upgrade dependencies and refactor AI action handling

This commit is contained in:
Ray.Hao
2025-11-17 21:43:20 +08:00
parent 5aa6773cac
commit 0fbd489e49
7 changed files with 478 additions and 237 deletions

View File

@@ -60,6 +60,28 @@ const formComponents = {
register: defineAsyncComponent(() => import("./components/Register.vue")),
resetPwd: defineAsyncComponent(() => import("./components/ResetPwd.vue")),
};
// 投票通知
const voteUrl = "https://gitee.com/activity/2025opensource?ident=I6VXEH";
// 显示投票通知
const showVoteNotification = () => {
ElNotification({
title: "⭐ Gitee 2025 开源评选 · 诚邀您的支持! 🙏",
message: `我正在参加 Gitee 2025 最受欢迎的开源软件投票活动,快来给我投票吧!<br/><a href="${voteUrl}" target="_blank" style="color: var(--el-color-primary); text-decoration: none; font-weight: 500;">点击投票 →</a>`,
type: "success",
position: "bottom-right",
duration: 0, // 不自动关闭
dangerouslyUseHTMLString: true,
});
};
// 延迟显示
onMounted(() => {
setTimeout(() => {
showVoteNotification();
}, 500);
});
</script>
<style lang="scss" scoped>