Comments (8)
@qianniuc ,那可以使用两个vue-file-upload 组件就可以了啊,就两个按钮分别对应两个上传列表了
from vue-file-upload.
@marchFantasy 用的就是两个vue-file-upload组件,有两个按钮,点击一个上传后,再点击另一个上传,这个后点击的会把前一个的上传的文件都展示出来了
from vue-file-upload.
@qianniuc ,按钮是上传所有图片还是上传某一个图片?
上传所有图片可能需要绑定不同的函数的,上传完回调处理也要不一样
from vue-file-upload.
目前就是这么个情况,上传logo后,再上传图片,那个logo的进度也显示出来了,上传logo和长传图片是两个按钮
from vue-file-upload.
这个动态图片看不出来什么,一闪而过!我觉得可能你的代码没有控制好进度,共享了进度的数据
from vue-file-upload.
export default {
method:"POST",
queue:[],
alias:"file",
autoUpload:true,
filters:[],
formData:{},
headers:{},
maxItems:Number.MAX_VALUE,
withCredentials:false,
responseType:"json"
};
我发现这个queue好像是公用的,会不会是这个原因导致的??
from vue-file-upload.
@qianniuc ,你说的这个bug确实存在,我马上来修复下,稍后更新下。感谢🙏
from vue-file-upload.
from vue-file-upload.
Related Issues (20)
- IE9下上传失败 HOT 2
- IE下上传问题 HOT 15
- 楼主你好 !因为做的是app 支持移动端多图上传吗 HOT 1
- 我的上传按钮和上传列表是分离的,能不能做一个自动单击上传按钮的事件? HOT 1
- 建议楼主写一个原生vue的demo,jade版的demo看不太懂 HOT 2
- 按钮第二次点击选择同一张图片会选择不了 HOT 1
- IE9上传时提示文件下载? HOT 2
- ie9中报错了 HOT 1
- 支持跨域吗 HOT 1
- 选取文件后仍显示“未选择文件” HOT 1
- ie9支持跨域吗 HOT 1
- onPreview 图片预览报错 HOT 4
- 图片预览只生效一次,再次上传不触发预览事件 HOT 3
- 请教下,是否支持删除多文件队列中的指定文件 HOT 2
- 过滤函数里怎么显示回调?比如选择了不符合的文件如何提示给用户 HOT 1
- 如何设置允许上传的文件的大小? HOT 5
- 设置:multiple=true,多个文件上传为什么会多次调上传接口 HOT 1
- IE浏览器下上传图片异常 HOT 2
- 文件上传之前的事件, onBeforeUpload, 不能进行文件的拦截. HOT 1
- 自定义上传按钮失效 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-file-upload.