The a tag in the vue project uses dynamic bind:href and then download does not take effect.

1.downlaod has no effect and opens the pdf directly in the browser. I really don"t understand what the reason is.

<a  class="downloadpdfbtn" :href=""http://ip/pdf/"+scope.row.name.split(".")[0]+"-8.pdf""  download  type="primary" size="small"><span id="downFile"></span></a>

    
Mar.21,2021

Nobody knows why? Is it because download only supports downloading of cognate files


pc, then check whether the path is correct? Mobile will not download ~


is the problem solved? This question has already made me lose a handful of hair

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52778-4412e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52778-4412e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?