chromesetting
杨树明 5 years ago
parent 9a8d4adad3
commit 28d322ca91

@ -491,15 +491,15 @@ class TPMDataset extends Component {
//上传前的操作
// console.log('beforeUpload', file.name);
// this.props.showNotification(`文件上传中`);
const isLt300M = file.size / 1024 / 1024 <= 300;
const isLt400M = file.size / 1024 / 1024 <= 400;
if (!isLt300M) {
if (!isLt400M) {
this.setState({
Buttonloading:false
})
this.props.showNotification('文件大小必须小于等于300MB!');
this.props.showNotification('文件大小必须小于等于400MB!');
}
return isLt300M;
return isLt400M;
},
};
// console.log("showmodelshowmodel");

Loading…
Cancel
Save