mirror of
https://github.com/PlayEdu/backend
synced 2026-01-12 15:36:15 +08:00
上传图片组件素材库列表数据报错优化
This commit is contained in:
@@ -80,7 +80,7 @@ export const UploadImageButton = (props: PropsInterface) => {
|
|||||||
resource
|
resource
|
||||||
.resourceList(page, size, "", "", "", "IMAGE", defaultCid + "")
|
.resourceList(page, size, "", "", "", "IMAGE", defaultCid + "")
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
setTotal(res.data.resul.total);
|
setTotal(res.data.result.total);
|
||||||
setImageList(res.data.result.data);
|
setImageList(res.data.result.data);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user