|
@@ -26,9 +26,7 @@ const AnthologyInfoEditWidget = ({ anthologyId, onTitleChange }: IWidget) => {
|
|
|
return anthologyId ? (
|
|
return anthologyId ? (
|
|
|
<ProForm<IFormData>
|
|
<ProForm<IFormData>
|
|
|
onFinish={async (values: IFormData) => {
|
|
onFinish={async (values: IFormData) => {
|
|
|
- // TODO
|
|
|
|
|
console.log(values);
|
|
console.log(values);
|
|
|
-
|
|
|
|
|
const res = await put<IAnthologyDataRequest, IAnthologyResponse>(
|
|
const res = await put<IAnthologyDataRequest, IAnthologyResponse>(
|
|
|
`/v2/anthology/${anthologyId}`,
|
|
`/v2/anthology/${anthologyId}`,
|
|
|
{
|
|
{
|