n1crack / vuefinder

Empower your Vue.js applications with this versatile and customizable file manager component, simplifying file organization and navigation.
https://vuefinder.ozdemir.be
MIT License
259 stars 75 forks source link

fix multi file download problem #49

Closed yubaoa closed 7 months ago

yubaoa commented 7 months ago

To fix #47 ‘s download problem I also met this problem when I was downloading some file using this package. I found the problem is that both using A TAG to download file and a emitter function callback which is named vf-download, when click the A TAG clickable range,it will call two function both. When just click the the li padding range, it is right.I delete the function using A TAG to download file in template .

yubaoa commented 7 months ago

when I was using unarchive, there is a variable which is called current in ModalUnarchive.vue, I'm not sure if it's right. I just change it in my local code. image

n1crack commented 7 months ago

Thank you.

n1crack commented 7 months ago

there was a reason behind we make the download link as a link. So it should work as expected now.

And yes we have missed to change "current" to app.data. It is also fixed.

yubaoa commented 7 months ago

got it, you are welcome