Code Monkey home page Code Monkey logo

Comments (8)

marchFantasy avatar marchFantasy commented on June 15, 2024

@qianniuc ,那可以使用两个vue-file-upload 组件就可以了啊,就两个按钮分别对应两个上传列表了

from vue-file-upload.

qianniuc avatar qianniuc commented on June 15, 2024

@marchFantasy 用的就是两个vue-file-upload组件,有两个按钮,点击一个上传后,再点击另一个上传,这个后点击的会把前一个的上传的文件都展示出来了

from vue-file-upload.

marchFantasy avatar marchFantasy commented on June 15, 2024

@qianniuc ,按钮是上传所有图片还是上传某一个图片?
上传所有图片可能需要绑定不同的函数的,上传完回调处理也要不一样

from vue-file-upload.

qianniuc avatar qianniuc commented on June 15, 2024

http://7xlm9s.com1.z0.glb.clouddn.com/2017-04-21%2011.41.22.gif
目前就是这么个情况,上传logo后,再上传图片,那个logo的进度也显示出来了,上传logo和长传图片是两个按钮

from vue-file-upload.

marchFantasy avatar marchFantasy commented on June 15, 2024

这个动态图片看不出来什么,一闪而过!我觉得可能你的代码没有控制好进度,共享了进度的数据

from vue-file-upload.

qianniuc avatar qianniuc commented on June 15, 2024
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.

marchFantasy avatar marchFantasy commented on June 15, 2024

@qianniuc ,你说的这个bug确实存在,我马上来修复下,稍后更新下。感谢🙏

from vue-file-upload.

marchFantasy avatar marchFantasy commented on June 15, 2024

@qianniuc ,已经更新了!谢谢 #23

from vue-file-upload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.