Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

el-upload 后台返回图片的url,如何再次获得选取图片时的file.raw的一整个对象?

问题描述:
通过el-upload上传图片,之后在做修改更新,后台要求我对于没有变动的图片,同样和首次新增上传一样,提交完整的图片信息。
这是首次选取图片时,可以拿到的file.raw,有完整的图片信息。
image.png
通过后台返回图片的url,回显在el-upload中,拿到的file,就不是像上面那样的图片信息了。
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...