fix:fix bug
This commit is contained in:
@@ -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"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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 }),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user