We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3abaa10 commit e425b17Copy full SHA for e425b17
app/main.ts
@@ -333,7 +333,9 @@ function updateVersionDisplay(): void {
333
return
334
335
// 显示版本号(带v前缀)
336
- elements.versionNumber.textContent = `v${versionInfo.version}`
+ elements.versionNumber.textContent = versionInfo?.version?.startsWith('v')
337
+ ? versionInfo.version
338
+ : `v${versionInfo.version}`
339
340
// 显示获取时间(转换为本地时间)
341
const fetchDate = new Date(versionInfo.fetchTime)
0 commit comments