Commit b462b3d8 by zhujian

fix

parent 3fcdcf60
...@@ -80,11 +80,19 @@ class BasicInfo extends React.Component { ...@@ -80,11 +80,19 @@ class BasicInfo extends React.Component {
this.props.onChange('coverId', null); this.props.onChange('coverId', null);
}, 1000); }, 1000);
}; };
handleSelectCover = (file) => { handleSelectCover = (file) => {
this.setState({
visible: true, if(file){
imageFile: file, this.setState({
}); visible: true,
imageFile: file,
});
}else{
message.warning('请选择文件!')
}
}; };
//获取resourceId //获取resourceId
getSignature = (blob, fileName) => { getSignature = (blob, fileName) => {
......
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