mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 07:09:27 +08:00
fixed: 图片上传错误提示
This commit is contained in:
@@ -13,7 +13,7 @@ import { resource } from "../../../api";
|
||||
import styles from "./index.module.less";
|
||||
import { CloseOutlined } from "@ant-design/icons";
|
||||
import { UploadImageSub } from "../../../compenents/upload-image-button/upload-image-sub";
|
||||
import { TreeCategory, PerButton } from "../../../compenents";
|
||||
import { TreeCategory } from "../../../compenents";
|
||||
|
||||
interface CategoryItem {
|
||||
id: number;
|
||||
@@ -92,7 +92,7 @@ export const ResourceImagesPage = () => {
|
||||
<Row gutter={16} style={{ marginBottom: 24 }}>
|
||||
<Col span={24}>
|
||||
<UploadImageSub
|
||||
categoryId={Number(category_ids.join(","))}
|
||||
categoryIds={category_ids}
|
||||
onUpdate={() => {
|
||||
resetImageList();
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user