mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-09 01:16:55 +08:00
📦 Chore: update electron from v6 -> v16
This commit is contained in:
@@ -41,12 +41,15 @@ export default class extends Vue {
|
||||
this.id = id
|
||||
})
|
||||
}
|
||||
|
||||
confirmName () {
|
||||
ipcRenderer.send(`rename${this.id}`, this.fileName)
|
||||
}
|
||||
|
||||
cancel () {
|
||||
ipcRenderer.send(`rename${this.id}`, null)
|
||||
}
|
||||
|
||||
beforeDestroy () {
|
||||
ipcRenderer.removeAllListeners('rename')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user