mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +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 { Button } from "@nextui-org/react"
|
||||||
import { activeClient } from "../../../utils/client"
|
import { activeClient } from "../../../utils/client"
|
||||||
// import { NextUIProvider } from "@nextui-org/react";
|
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
// 提交表单
|
||||||
activeClient.freshman.postFreshmanAdd({
|
activeClient.freshman.postFreshmanAdd({
|
||||||
requestBody: {
|
requestBody: {
|
||||||
class: "1",
|
class: "1",
|
||||||
|
|
@ -21,7 +20,7 @@ export default function Page() {
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Click me
|
提交表单
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue