Sfoglia il codice sorgente

fix #7897 保证用户粘贴时粘贴板为图片才会自动展开进行图片上床逻辑

Roxas 4 anni fa
parent
commit
34189cef9c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/components/Editor/index.js

+ 1
- 0
src/components/Editor/index.js Vedi File

180
           break;
180
           break;
181
         }
181
         }
182
       }
182
       }
183
+      if (file === null) return;
183
     }
184
     }
184
     this.setState({
185
     this.setState({
185
       uploadVisible: true
186
       uploadVisible: true