|
|
@ -417,6 +417,9 @@ class TPMDataset extends Component {
|
|
|
|
onChange: this.handleChange,
|
|
|
|
onChange: this.handleChange,
|
|
|
|
onRemove: this.onAttachmentRemove,
|
|
|
|
onRemove: this.onAttachmentRemove,
|
|
|
|
beforeUpload: (file, fileList) => {
|
|
|
|
beforeUpload: (file, fileList) => {
|
|
|
|
|
|
|
|
console.log("beforeUpload");
|
|
|
|
|
|
|
|
console.log(this.state.fileList);
|
|
|
|
|
|
|
|
console.log(this.state.fileList.length);
|
|
|
|
|
|
|
|
|
|
|
|
if (this.state.fileList.length >= 1) {
|
|
|
|
if (this.state.fileList.length >= 1) {
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|