mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-27 08:40:26 +08:00
修复自动更新功能
This commit is contained in:
@@ -403,7 +403,7 @@ export default {
|
||||
getLatestVersion () {
|
||||
ipcRenderer.send('checkForUpdate')
|
||||
ipcRenderer.on('update-available', (e, info) => {
|
||||
this.d.latestVersion = info.version
|
||||
this.latestVersion = info.version
|
||||
})
|
||||
ipcRenderer.on('update-error', () => {
|
||||
this.$message.warning = '更新出错.'
|
||||
|
||||
Reference in New Issue
Block a user