处理刷新

chromesetting
杨树林 5 years ago
parent bb52b147ee
commit cb6a9d66a3

@ -356,7 +356,7 @@ class Challengesjupyter extends Component {
} }
const isLt10M = file.size / 1024 / 1024 < 10; const isLt10M = file.size / 1024 / 1024 < 10;
if (!isLt10M) { if (!isLt10M) {
this.props.showNotification('文件大小必须小于10MB!'); this.props.showNotification('请上传10m以内ipynb格式的文件!');
} }
return isLt10M; return isLt10M;
}, },

Loading…
Cancel
Save