training_data/apps/web/src/app/main/home/page.tsx

24 lines
686 B
TypeScript
Raw Normal View History

2025-03-25 09:38:38 +08:00
import { Button } from "antd"
import { api } from "@nice/client"
2025-03-12 08:23:33 +08:00
import React from "react"
2025-03-25 09:38:38 +08:00
import { useSport } from "@nice/client"
2025-03-24 20:16:37 +08:00
export default function Dashboard() {
2025-03-25 09:38:38 +08:00
// const {createSportProject} = useSport()
// const handleCreateSportProject = () => {
// createSportProject.mutate({
// data:{
// name:"测试项目",
// description:"测试项目描述",
// type:"测试类型",
// unit:"测试单位",
// isAscending:true
// }
// })
// }
2025-03-12 08:23:33 +08:00
return (
<div >
2025-03-24 20:16:37 +08:00
2025-03-25 09:38:38 +08:00
{/* <Button type="primary" onClick={()=>handleCreateSportProject()}>创建体育项目</Button> */}
2025-03-12 08:23:33 +08:00
</div>
)
}