Commit 965d96ae authored by Amy Yan's avatar Amy Yan

changed ipc

parent 5f77055c
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
'downloadQueue' 'downloadQueue'
], ],
mounted: function(){ mounted: function(){
this.$on('downloadProgress', (decimal) => { this.$electron.ipcMain.on('downloadProgress', (decimal) => {
this.$data.downloadProgress = decimal; this.$data.downloadProgress = decimal;
console.log(this.$data.downloadProgress) console.log(this.$data.downloadProgress)
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment