I tried to make custom file name for user to download, however I can't seem to use ${}
with it.
What I'm trying to achieve is:
let foo = "name"
let fileName = `${name}footer.html`
<a download={filename} className="btn btn-info">Download</a>
Also this wont work:
<a download=`${name}footer.html` className="btn btn-info">Download</a>
What am I missing?
答案 0 :(得分:-1)
___________________
| User_Id | Post_Id |
|___________________|
| 15 | 288 |
| 185 | 14358 |
| 185 | 3855 |
|_________|_________|