cancelEditImage = (imageUrl) => {
const {actions: {ownActions: {editMaterial}}, materials} = this.props;
const item = find(materials, {coverImage: imageUrl});
editMaterial({
id: this.state.itemId,
version: item.version + 0.1,
});
}
找到当前图片素材
更新版本号