fix:fix bug

This commit is contained in:
2025-08-15 00:15:59 +08:00
parent 0b562a810b
commit b80bdb8d49
3 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ const Appearance = () => {
</Heading> </Heading>
<RadioGroup <RadioGroup
onValueChange={(e) => setTheme(e.value)} onValueChange={(e) => setTheme(e.value || '')}
value={theme} value={theme}
colorPalette="teal" colorPalette="teal"
> >

View File

@@ -1,5 +1,5 @@
import { createFileRoute } from "@tanstack/react-router" import { createFileRoute } from "@tanstack/react-router"
import React, { useState } from "react" import { useState } from "react"
import { Input, Button, Card, Spin, message, Typography, Space } from "antd" import { Input, Button, Card, Spin, message, Typography, Space } from "antd"
import { UtilsService } from "@/client" import { UtilsService } from "@/client"

View File

@@ -52,6 +52,7 @@ function ItemsTable() {
const setPage = (page: number) => const setPage = (page: number) =>
navigate({ navigate({
//@ts-ignore
search: (prev: { [key: string]: string }) => ({ ...prev, page }), search: (prev: { [key: string]: string }) => ({ ...prev, page }),
}) })