Commit fb7ab4d3 authored by 张烨's avatar 张烨

fix: web4无法展示配置的图片资源

parent 56a6f0da
......@@ -177,7 +177,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
url: this.state.curSelectedImg,
},
];
this.props.onChange && this.props.onChange( maxLen === 1 ? fileList[0].url : fileList.map(f => f.url));
this.props.onChange && this.props.onChange( maxLen === 1 ? fileList[0].url.replace('Web4/', '') : fileList.map(f => f.url.replace('Web4/', '')));
this.setState({ fileList, wallModalVisible: false });
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment