mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
优化客户端升级提示
This commit is contained in:
parent
e032d29c91
commit
1f76278d2b
@ -65,6 +65,7 @@ export default {
|
|||||||
if (this.$Electron) {
|
if (this.$Electron) {
|
||||||
this.$Electron.registerMsgListener('downloadDone', ({result}) => {
|
this.$Electron.registerMsgListener('downloadDone', ({result}) => {
|
||||||
if (result.name == this.repoData.name && this.repoStatus !== 2) {
|
if (result.name == this.repoData.name && this.repoStatus !== 2) {
|
||||||
|
this.$store.state.clientNewVersion = this.repoReleases.tag_name
|
||||||
this.downloadResult = result;
|
this.downloadResult = result;
|
||||||
this.updateWinShow = true;
|
this.updateWinShow = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user