mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
add comment
This commit is contained in:
parent
ff1eb745ed
commit
149a5faa6b
1 changed files with 2 additions and 3 deletions
|
|
@ -1,13 +1,12 @@
|
|||
// app/page.tsx
|
||||
import { Button } from "@nextui-org/react"
|
||||
import { activeClient } from "../../../utils/client"
|
||||
// import { NextUIProvider } from "@nextui-org/react";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
<Button
|
||||
onClick={() => {
|
||||
// 提交表单
|
||||
activeClient.freshman.postFreshmanAdd({
|
||||
requestBody: {
|
||||
class: "1",
|
||||
|
|
@ -21,7 +20,7 @@ export default function Page() {
|
|||
})
|
||||
}}
|
||||
>
|
||||
Click me
|
||||
提交表单
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue