上传图片组件素材库列表数据报错优化

This commit is contained in:
禺狨 2023-03-08 14:16:26 +08:00
parent 2bb22b3fd3
commit 4684252fd5

View File

@ -80,7 +80,7 @@ export const UploadImageButton = (props: PropsInterface) => {
resource
.resourceList(page, size, "", "", "", "IMAGE", defaultCid + "")
.then((res: any) => {
setTotal(res.data.resul.total);
setTotal(res.data.result.total);
setImageList(res.data.result.data);
})
.catch((err) => {