From 285ddab45a017a84030219dc67b39da16909f0c0 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 2 Jun 2026 13:10:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=BB=E9=A1=B5=E9=93=BE=E6=8E=A5=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=BC=98=E5=8C=96=E4=B8=8B=E6=8B=89=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E9=A1=B9=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/PluginAppCard.vue | 23 +++++++-------- src/components/cards/PluginCard.vue | 39 ++++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/src/components/cards/PluginAppCard.vue b/src/components/cards/PluginAppCard.vue index e5b7c160..fe6d046b 100644 --- a/src/components/cards/PluginAppCard.vue +++ b/src/components/cards/PluginAppCard.vue @@ -8,7 +8,9 @@ import { useI18n } from 'vue-i18n' import { openSharedDialog } from '@/composables/useSharedDialog' const PluginMarketDetailDialog = defineAsyncComponent(() => import('@/components/dialog/PluginMarketDetailDialog.vue')) -const PluginVersionHistoryDialog = defineAsyncComponent(() => import('@/components/dialog/PluginVersionHistoryDialog.vue')) +const PluginVersionHistoryDialog = defineAsyncComponent( + () => import('@/components/dialog/PluginVersionHistoryDialog.vue'), +) // 输入参数 const props = defineProps({ @@ -119,15 +121,6 @@ function showPluginDetail() { // 弹出菜单 const dropdownItems = ref([ - { - title: t('plugin.projectHome'), - value: 1, - show: true, - props: { - prependIcon: 'mdi-github', - click: visitPluginPage, - }, - }, { title: t('plugin.versionHistory'), value: 2, @@ -137,8 +130,16 @@ const dropdownItems = ref([ click: showUpdateHistory, }, }, + { + title: t('plugin.projectHome'), + value: 1, + show: true, + props: { + prependIcon: 'mdi-github', + click: visitPluginPage, + }, + }, ]) -