fixed: 图片上传错误提示

This commit is contained in:
none
2023-03-08 19:13:54 +08:00
parent 28f38db147
commit 98a20a5c0b
3 changed files with 12 additions and 11 deletions

View File

@@ -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();
}}