mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-22 18:22:53 +08:00
ref: plugin 支持 type over
This commit is contained in:
@@ -96,6 +96,21 @@ new Vue({
|
||||
}
|
||||
});
|
||||
}
|
||||
if (cmd.type === 'over') {
|
||||
this.targetOptions.push({
|
||||
type: 'ext',
|
||||
name: cmd.label,
|
||||
icon: plugin.icon,
|
||||
click: () => {
|
||||
ipcRenderer.send('superPanel-openPlugin', {
|
||||
cmd: cmd,
|
||||
plugin: plugin,
|
||||
feature: fe,
|
||||
data: word
|
||||
})
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user