|
|
|
@ -490,7 +490,7 @@ class TPMDataset extends Component {
|
|
|
|
|
beforeUpload: (file) => {
|
|
|
|
|
//上传前的操作
|
|
|
|
|
// console.log('beforeUpload', file.name);
|
|
|
|
|
this.props.showNotification(`文件上传中`);
|
|
|
|
|
// this.props.showNotification(`文件上传中`);
|
|
|
|
|
const isLt300M = file.size / 1024 / 1024 <= 300;
|
|
|
|
|
|
|
|
|
|
if (!isLt300M) {
|
|
|
|
|