mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
feat(frontend):在获取版本信息时,将官方声明添加到内容开头
- 修改了 App.vue 文件中的 onBeforeMount 钩子 - 在获取到官方声明后,将其添加到现有内容的开头 - 通过换行符分隔官方声明和原有内容
This commit is contained in:
parent
111252f8bd
commit
b945a0e0e1
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user