mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
opt
This commit is contained in:
parent
6931277e33
commit
5c219aa003
@ -411,10 +411,7 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
buttonDom.addEventListener('click', async () => {
|
buttonDom.addEventListener('click', async () => {
|
||||||
window.llonebot.checkVersion().then(checkVersionFunc)
|
window.llonebot.checkVersion().then(checkVersionFunc)
|
||||||
})
|
})
|
||||||
|
} else if (!ResultVersion.result) {
|
||||||
return
|
|
||||||
}
|
|
||||||
if (!ResultVersion.result) {
|
|
||||||
titleDom.innerHTML = '当前已是最新版本 v' + version
|
titleDom.innerHTML = '当前已是最新版本 v' + version
|
||||||
buttonDom.innerHTML = '无需更新'
|
buttonDom.innerHTML = '无需更新'
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user