mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-25 20:09:27 +08:00
✨ open settings with tray
This commit is contained in:
@@ -97,14 +97,17 @@ const changeIndex = index => {
|
||||
currentSelect.value = currentSelect.value + index;
|
||||
};
|
||||
|
||||
const openMenu = () => {
|
||||
const openMenu = (ext) => {
|
||||
openPlugin({
|
||||
...toRaw(menuPluginInfo.value),
|
||||
feature: menuPluginInfo.value.features[0],
|
||||
cmd: "插件市场"
|
||||
cmd: "插件市场",
|
||||
ext
|
||||
});
|
||||
};
|
||||
|
||||
window.rubick.openMenu = openMenu
|
||||
|
||||
const choosePlugin = () => {
|
||||
const currentChoose = options.value[currentSelect.value];
|
||||
currentChoose.click();
|
||||
|
||||
Reference in New Issue
Block a user