张延森 5 年 前
コミット
e9e2eb9a39
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      src/components/XForm/ImageUpload.jsx

+ 1
- 1
src/components/XForm/ImageUpload.jsx ファイルの表示

@@ -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