From 2cccc83123e2cdca14086082e175299e5bdcdd0d Mon Sep 17 00:00:00 2001 From: LIlGG <1103069291@qq.com> Date: Mon, 6 May 2024 18:30:41 +0800 Subject: [PATCH] feat: add the function of jumping to the front desk --- console/src/views/MomentsList.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/console/src/views/MomentsList.vue b/console/src/views/MomentsList.vue index f500bb3..4ab348c 100644 --- a/console/src/views/MomentsList.vue +++ b/console/src/views/MomentsList.vue @@ -5,6 +5,8 @@ import { VLoading, VPagination, VCard, + VButton, + IconExternalLinkLine, } from "@halo-dev/components"; import MingcuteMomentsLine from "~icons/mingcute/moment-line"; import type { User } from "@halo-dev/api-client"; @@ -137,12 +139,24 @@ provide("tag", { tag: tag.value, updateTagQuery, }); + +const handleJumpToFrontDesk = () => { + window.open("/moments", "_blank"); +};