feat(management/project): management/project type
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"use client"
|
||||
|
||||
import { Button, Group, Modal, MultiSelect, Stack } from "@mantine/core"
|
||||
import { useEffect } from "react"
|
||||
import { useForm } from "@mantine/form"
|
||||
import { useEffect } from "react"
|
||||
|
||||
export default function AdminUserModal(props: {
|
||||
opened: boolean
|
||||
@@ -23,7 +23,12 @@ export default function AdminUserModal(props: {
|
||||
}, [opened, value, form])
|
||||
|
||||
return (
|
||||
<Modal opened={opened} onClose={() => onClose()} title="编辑项目管理员" centered size={560}>
|
||||
<Modal
|
||||
opened={opened}
|
||||
onClose={() => onClose()}
|
||||
title="编辑项目管理员"
|
||||
centered
|
||||
size={560}>
|
||||
<form
|
||||
onSubmit={form.onSubmit((values) => {
|
||||
const next = values.users
|
||||
@@ -51,4 +56,3 @@ export default function AdminUserModal(props: {
|
||||
</Modal>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user