How do I access pictures through the picture interface in a project built with vue+vue router?

for projects built through vue + vue-router, how to access pictures through APIs, such as

because the address will be routed off when vue-router, accesses Download.ashx?id=01, there is no way to access the interface to be accessed. Can you solve this problem by configuring routing, or have other solutions

Mar.29,2021

your download.ashx can avoid being optimized by vue-router paths by adding http:// headers. In this way, you can access your picture


A reasonable relative path URL must have at least the beginning of / , . / .
if not, consider adding http (s?) protocol header, with full path writing

.
Menu