如何使用现有文件启动React dropzone?

时间:2018-12-27 14:23:15

标签: reactjs dropzone.js react-dropzone

我需要使用现有文件来渲染from contextlib import closing from multiprocessing import Pool def main(): poolNum = int(sys.argv[1]) with closing(Pool(poolNum)) as pool: # Pool created results = pool.imap_unordered(processFunc, fileList) # close has been called, so no new work can be submitted, # and when all outstanding tasks complete, the workers will exit # immediately/cleanly for res in results: # Can still retrieve results even after pool is closed # Adding main guard so this code is valid on Windows and anywhere else which # doesn't use forking for whatever reason if __name__ == '__main__': main() 组件,我已经尝试搜索一些方法来实现它,但是所有方法都使用dropzone.js而不是组件,还发现了{{1 }}支持该组件,但并没有太大帮助。

有没有一种方法可以用文件渲染组件?有道具吗?

0 个答案:

没有答案