mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-07 19:14:11 +08:00
✨ support #371
This commit is contained in:
parent
0578c7c7eb
commit
4a2ca33e02
@ -63,7 +63,7 @@ export default () => {
|
|||||||
`window.rubick && window.rubick.hooks && typeof window.rubick.hooks.onShow === "function" && window.rubick.hooks.onShow()`
|
`window.rubick && window.rubick.hooks && typeof window.rubick.hooks.onShow === "function" && window.rubick.hooks.onShow()`
|
||||||
);
|
);
|
||||||
// versonHandler.checkUpdate();
|
// versonHandler.checkUpdate();
|
||||||
// win.webContents.openDevTools();
|
win.webContents.openDevTools();
|
||||||
});
|
});
|
||||||
|
|
||||||
win.on('hide', () => {
|
win.on('hide', () => {
|
||||||
|
@ -115,14 +115,13 @@ const changeIndex = (index) => {
|
|||||||
currentSelect.value = currentSelect.value + index;
|
currentSelect.value = currentSelect.value + index;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (
|
if (currentSelect.value + index > options.value.length - 1) {
|
||||||
currentSelect.value + index > options.value.length - 1 ||
|
|
||||||
currentSelect.value + index < 0
|
|
||||||
) {
|
|
||||||
currentSelect.value = 0;
|
currentSelect.value = 0;
|
||||||
return;
|
} else if (currentSelect.value + index < 0) {
|
||||||
}
|
currentSelect.value = options.value.length - 1;
|
||||||
|
} else {
|
||||||
currentSelect.value = currentSelect.value + index;
|
currentSelect.value = currentSelect.value + index;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const openMenu = (ext) => {
|
const openMenu = (ext) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user