为什么刷新后会删除文件对象的某些值?
redux中的原始对象(实际上是更大对象的一部分。。。[{人:{},文件:[文件:{}]}])
看起来像这样:
{
file: {
name:"test.png"
preview:"blob:http://localhost:8080/..."
size:39545
type:"image/png"
},
progress: 100,
uploader: S3Upload,
completed: true,
url: "...test.png"
}
刷新后,对象如下所示:
{
file: {
preview:"blob:http://localhost:8080/..."
},
progress: 100,
uploader: {â¦},
completed: true,
url: "...test.png"
}
为什么第二个文件对象中没有名称、大小和类型?