张延森 5 vuotta sitten
vanhempi
commit
e9e2eb9a39
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/components/XForm/ImageUpload.jsx

+ 1
- 1
src/components/XForm/ImageUpload.jsx Näytä tiedosto

17
       return;
17
       return;
18
     }
18
     }
19
     
19
     
20
-    if (e.file.state === 'removed') {
20
+    if (info.file.status === 'removed') {
21
       this.props.onChange();
21
       this.props.onChange();
22
     }
22
     }
23
 
23