优化更新弹窗

This commit is contained in:
lyswhut
2019-09-26 00:06:02 +08:00
parent f3dd306f54
commit 6bd18e8078
10 changed files with 50 additions and 22 deletions
+5
View File
@@ -106,6 +106,11 @@ export default {
this.showUpdateModal()
})
})
this.setVersionModalVisible({ isError: true })
this.clearUpdateTimeout()
this.$nextTick(() => {
this.showUpdateModal()
})
rendererOn('update-downloaded', () => {
this.clearUpdateTimeout()
this.setVersionModalVisible({ isError: false })