Fixed: bug with function in config

This commit is contained in:
Molunerfinn
2018-09-20 15:14:19 +08:00
parent 4a420dd5c5
commit c3b2d7b941
2 changed files with 16 additions and 7 deletions

View File

@@ -79,10 +79,7 @@ export default {
},
created () {
this.$electron.ipcRenderer.on('pluginList', (evt, list) => {
this.pluginList = list.map(item => {
// item.reload = false
return item
})
this.pluginList = list.map(item => item)
})
this.getPluginList()
document.addEventListener('keydown', (e) => {