可以在文件堆栈中自动选择文件,因此直接转到“编辑图像”吗?

问题描述

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

enter image description here

上传图片后,我想根据以下数据通过文件堆栈编辑器再次编辑图片

[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,文件-我认为) 在文件堆栈反应npm中有一个名为“文件”的道具。

name: file
type: Object    
required: false     
desc: Use it to insert a file object for 'upload' action

该道具如何使用? 还有直接编辑图像的解决方案吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...