修正获取新版信息失败提示内容

This commit is contained in:
lyswhut
2019-11-06 23:18:27 +08:00
parent a3ade4cde2
commit 3fd22988c1
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -109,6 +109,7 @@ export default {
ipcRenderer.on('update-available', (e, info) => {
// this.showUpdateModal(true)
// console.log(info)
this.setVersionModalVisible({ isDownloading: true })
this.getVersionInfo().catch(() => ({
version: info.version,
desc: info.releaseNotes,