Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/457.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 可以在filestack中自动选择文件,所以直接去编辑图像?_Javascript_Reactjs_File_Filestack - Fatal编程技术网

Javascript 可以在filestack中自动选择文件,所以直接去编辑图像?

Javascript 可以在filestack中自动选择文件,所以直接去编辑图像?,javascript,reactjs,file,filestack,Javascript,Reactjs,File,Filestack,我正在使用filestack react上传图像。效果很好。 上传图像后,我想通过filestack编辑器从以下数据再次编辑图像 [0] filename: "Screenshot_31.png" handle: "91E6hK5ETdC1ZcpWhHwN" mimetype: "image/png" originalFile: {name: "Screenshot_31.png", type: "ima

我正在使用filestack react上传图像。效果很好。

上传图像后,我想通过filestack编辑器从以下数据再次编辑图像

[0]
filename: "Screenshot_31.png"
handle: "91E6hK5ETdC1ZcpWhHwN"
mimetype: "image/png"
originalFile: {name: "Screenshot_31.png", type: "image/png", size: 1245}
originalPath: "Screenshot_31.png"
size: 1245
source: "local_file_system"
status: "Stored"
uploadId: "IBrlOAS02H90DwY8"
url: "https://cdn.filestackcontent.com/91E6hK5ETdC1ZcpWhHw
但是找不到合适的参数例如:defaultFile,file-我想 在filestack-react-npm中有一个名为file的prop

name: file
type: Object    
required: false     
desc: Use it to insert a file object for 'upload' action
如何使用这个道具? 还有直接编辑图像的解决方案吗