feat(frontend):在获取版本信息时,将官方声明添加到内容开头

- 修改了 App.vue 文件中的 onBeforeMount 钩子
- 在获取到官方声明后,将其添加到现有内容的开头
- 通过换行符分隔官方声明和原有内容
This commit is contained in:
ArvinLovegood 2025-07-01 12:43:03 +08:00
parent 111252f8bd
commit b945a0e0e1

View File

@ -520,7 +520,7 @@ window.onerror = function (msg, source, lineno, colno, error) {
onBeforeMount(() => { onBeforeMount(() => {
GetVersionInfo().then(result => { GetVersionInfo().then(result => {
if(result.officialStatement){ if(result.officialStatement){
content.value = result.officialStatement content.value = result.officialStatement+"\n\n"+content.value
} }
}) })