chore: remove check window decorations (#966)

* chore: remove check window decorations

* chore: add skip button

* chore: key add index
This commit is contained in:
BiggerRain
2025-11-05 15:13:26 +08:00
committed by GitHub
parent 61860b400f
commit 6067fa7029
3 changed files with 7 additions and 4 deletions

View File

@@ -65,15 +65,18 @@
"height": 260, "height": 260,
"minHeight": 260, "minHeight": 260,
"center": false, "center": false,
"decorations": false,
"transparent": true, "transparent": true,
"maximizable": false, "maximizable": false,
"skipTaskbar": false, "skipTaskbar": false,
"dragDropEnabled": false, "dragDropEnabled": false,
"hiddenTitle": true, "hiddenTitle": true,
"visible": false, "visible": false,
"shadow": false,
"windowEffects": { "windowEffects": {
"effects": ["sidebar"], "effects": ["sidebar"],
"state": "active" "state": "active",
"radius": 7
} }
} }
], ],

View File

@@ -172,9 +172,9 @@ function DropdownList({
/> />
)} )}
{items.map((hit) => { {items.map((hit, idx) => {
const currentIndex = hit.document.index ?? 0; const currentIndex = hit.document.index ?? 0;
const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}`; const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}-${idx}`;
return ( return (
<DropdownListItem <DropdownListItem

View File

@@ -241,7 +241,7 @@ const UpdateApp = ({ isCheckPage }: UpdateAppProps) => {
)} )}
</Button> </Button>
{!isCheckPage && updateInfo && isOptional && ( {updateInfo && isOptional && (
<div <div
className={clsx("text-xs text-[#999]", cursorClassName)} className={clsx("text-xs text-[#999]", cursorClassName)}
onClick={handleSkip} onClick={handleSkip}