mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-06 10:34:08 +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()`
|
||||
);
|
||||
// versonHandler.checkUpdate();
|
||||
// win.webContents.openDevTools();
|
||||
win.webContents.openDevTools();
|
||||
});
|
||||
|
||||
win.on('hide', () => {
|
||||
|
@ -115,14 +115,13 @@ const changeIndex = (index) => {
|
||||
currentSelect.value = currentSelect.value + index;
|
||||
return;
|
||||
}
|
||||
if (
|
||||
currentSelect.value + index > options.value.length - 1 ||
|
||||
currentSelect.value + index < 0
|
||||
) {
|
||||
if (currentSelect.value + index > options.value.length - 1) {
|
||||
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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user