From b945a0e0e12ca48fe3327c3b8eb1d182eee2a098 Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Tue, 1 Jul 2025 12:43:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E5=9C=A8=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=E6=97=B6=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E5=AE=98=E6=96=B9=E5=A3=B0=E6=98=8E=E6=B7=BB=E5=8A=A0=E5=88=B0?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=BC=80=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了 App.vue 文件中的 onBeforeMount 钩子 - 在获取到官方声明后,将其添加到现有内容的开头 - 通过换行符分隔官方声明和原有内容 --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 0694c45..6a0040c 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -520,7 +520,7 @@ window.onerror = function (msg, source, lineno, colno, error) { onBeforeMount(() => { GetVersionInfo().then(result => { if(result.officialStatement){ - content.value = result.officialStatement + content.value = result.officialStatement+"\n\n"+content.value } })