This commit is contained in:
idranme 2024-08-09 22:32:54 +08:00
parent 6931277e33
commit 5c219aa003
No known key found for this signature in database
GPG Key ID: 926F7B5B668E495F

View File

@ -411,10 +411,7 @@ async function onSettingWindowCreated(view: Element) {
buttonDom.addEventListener('click', async () => {
window.llonebot.checkVersion().then(checkVersionFunc)
})
return
}
if (!ResultVersion.result) {
} else if (!ResultVersion.result) {
titleDom.innerHTML = '当前已是最新版本 v' + version
buttonDom.innerHTML = '无需更新'
} else {