需要做一个图片上传的功能
当多张图片并发(两张)上传的时候,发现后一张图片的数据覆盖了前一张图片的数据结果是 两张图片上传,只能存取两张同一张的图片
上传后的结果
关于 url 和 content 如何获取的。。
一个正则
这部分是前端代码, fileList 是 File 类型 + 一些其他属性 组成的对象的集合
我再写前端代码的时候,考虑到发送 相应是乱序的所以使用了flag标记,并递归
flag 用于记录发送顺序
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
It’s actually very simple. Download a Visio, install it, open a flowchart project, draw your upload business logic using a flowchart, and you will be able to find the problem.
Do the two pictures have the same path name when saving?
As @laminux29 said, it is indeed an error in my own design logic. I have found out and solved it first
It’s actually very simple. Download a Visio, install it, open a flowchart project, draw your upload business logic using a flowchart, and you will be able to find the problem.
Do the two pictures have the same path name when saving?
As @laminux29 said, it is indeed an error in my own design logic. I have found out and solved it first