From 42df11f299604217336e2bce22e5d34319e518a0 Mon Sep 17 00:00:00 2001 From: jingrow Date: Thu, 15 May 2025 20:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9B=B4=E6=96=B0app?= =?UTF-8?q?=E6=97=B6commit=E7=9A=84=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src2/components/SiteUpdateDialog.vue | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/dashboard/src2/components/SiteUpdateDialog.vue b/dashboard/src2/components/SiteUpdateDialog.vue index feb9b94..18bd878 100644 --- a/dashboard/src2/components/SiteUpdateDialog.vue +++ b/dashboard/src2/components/SiteUpdateDialog.vue @@ -122,18 +122,7 @@ export default { return row.will_branch_change ? row.current_branch : row.current_tag || row.current_hash.slice(0, 7); - }, - link(value, row) { - if (row.will_branch_change) { - return `${row.repository_url}/tree/${row.current_branch}`; - } - if (row.current_tag) { - return `${row.repository_url}/releases/tag/${row.current_tag}`; - } - if (row.current_hash) { - return `${row.repository_url}/commit/${row.current_hash}`; - } - }, + } }, { label: '下一个版本', @@ -142,18 +131,7 @@ export default { return row.will_branch_change ? row.branch : row.next_tag || row.next_hash.slice(0, 7); - }, - link(value, row) { - if (row.will_branch_change) { - return `${row.repository_url}/tree/${row.branch}`; - } - if (row.next_tag) { -return `${row.repository_url}/releases/tag/${row.next_tag}`; - } - if (row.next_hash) { - return `${row.repository_url}/commit/${row.next_hash}`; - } - }, + } }, ], };