Skip to content

Commit

Permalink
🔖 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
neila-a committed Feb 25, 2024
1 parent 260171b commit b68811c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "verkfi",
"version": "1.6.1",
"devVersion": "794",
"dev": true,
"version": "1.6.2",
"devVersion": "796",
"dev": false,
"description": "Platform for Neila's something useless tools.",
"private": true,
"repository": "github:neila-a/verkfi",
Expand Down
3 changes: 3 additions & 0 deletions public/index.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"orientation": "any",
"background_color": "#2196f3",
"theme_color": "#2196f3",
"launch_handler": {
"client_mode": "auto"
},
"icons": [
{
"src": "/image/favicon.310x310.png",
Expand Down
15 changes: 6 additions & 9 deletions src/app/tools/pillar/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,12 @@ export default function Pillar(): JSX.Element {
const realOld = old.slice(0); // 深复制
realOld[ruleIndex][index] = index === 0 ? Number(event.target.value) : (event.target.value as filterType);
return realOld;
})} labelId={`${select[1]}-select-label`} id={`${select[1]}-select`}
value={
rule[index] as any
/*
* 此处的类型应为 filterType | 0 | 1 | 2 | 3,但是由于TS的类型自动推断出现了问题,只能省略类型
*/
}
label={get(`${select[1]}.default`)}
>
})} labelId={`${select[1]}-select-label`} id={`${select[1]}-select`} value={
rule[index] as any
/*
* 此处rule[index]的类型应为 filterType | 0 | 1 | 2 | 3,但是由于TS的类型自动推断出现了问题,只能省略类型
*/
} label={get(`${select[1]}.default`)}>
{select[0].map(choose => <MenuItem key={choose} value={choose}>{get(`${select[1]}.${choose}`)}</MenuItem>)}
</Select>
</FormControl>
Expand Down

0 comments on commit b68811c

Please sign in to comment.