From d92ac0e23e9e7c0600efbb154fb3b2e6fdc085a2 Mon Sep 17 00:00:00 2001 From: wuhang2003 Date: Mon, 9 Feb 2026 23:36:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E4=BF=AE=E6=AD=A3=20Top10=20?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuhang2003 --- src/views/dashboard/components/TopArticles.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/components/TopArticles.tsx b/src/views/dashboard/components/TopArticles.tsx index b36119e4c..16c1898ac 100644 --- a/src/views/dashboard/components/TopArticles.tsx +++ b/src/views/dashboard/components/TopArticles.tsx @@ -3,6 +3,7 @@ import { NScrollbar } from 'naive-ui' import { defineComponent, onMounted, ref } from 'vue' import { aggregateApi } from '~/api/aggregate' +import { WEB_URL } from '~/constants/env' import { ChartCard } from './ChartCard' @@ -57,7 +58,7 @@ export const TopArticles = defineComponent({ key={item.id} href={ item.category - ? `/posts/${item.category.slug}/${item.slug}` + ? `${WEB_URL}/posts/${item.category.slug}/${item.slug}` : '#' } target="_blank"