张延森 5 anni fa
parent
commit
e9e2eb9a39
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/components/XForm/ImageUpload.jsx

+ 1
- 1
src/components/XForm/ImageUpload.jsx Vedi File

@@ -17,7 +17,7 @@ class ImageUpload extends React.Component {
17 17
       return;
18 18
     }
19 19
     
20
-    if (e.file.state === 'removed') {
20
+    if (info.file.status === 'removed') {
21 21
       this.props.onChange();
22 22
     }
23 23