ref: db api 修改为同步

This commit is contained in:
muwoo
2021-07-12 12:54:08 +08:00
parent 70bbe8ab49
commit e4e7dbbe9a
7 changed files with 151 additions and 51 deletions

View File

@@ -99,6 +99,9 @@ export default {
ipcRenderer.on('new-window', this.newWindow);
// 超级面板打开插件
ipcRenderer.on('superPanel-openPlugin', (e, args) => {
ipcRenderer.send('msg-trigger', {
type: 'showMainWindow',
});
this.openPlugin({
cmd: args.cmd,
plugin: args.plugin,