简体   繁体   中英

How to download file from byte base64 in vue js

I have string of byte base64

let string = 'UEsDBBQABgAIAAAAIQBi7...'

How should I do, if I want download the file from the byte base64 in vue js

Thanks, any solution is so help me :')

i found this nice library https://github.com/rndme/download

you just import this in you library and then

download("data:image/gif;base64,R0ln5+......n4/+oMSAAOw==", "dlDUrlBin.gif", "image/gif");

let me know if is useful

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM