优化客户端升级提示

This commit is contained in:
kuaifan 2022-02-27 22:53:54 +08:00
parent e032d29c91
commit 1f76278d2b

View File

@ -65,6 +65,7 @@ export default {
if (this.$Electron) {
this.$Electron.registerMsgListener('downloadDone', ({result}) => {
if (result.name == this.repoData.name && this.repoStatus !== 2) {
this.$store.state.clientNewVersion = this.repoReleases.tag_name
this.downloadResult = result;
this.updateWinShow = true;
}