backend provides a RESTful for a get request. Currently, the backend url is opened with the a tag, but the request for the url needs to add token information to the header. Click on the a tag before adding token verification to download it directly. Now click to prompt that token does not exist. The header information for configuring token is in the request header of axios, and all other api is fine.
<a :href="downLoadSrc" download class="downLoad-btn">
//url
self.downLoadSrc="http://172.21.81.160:8085/storemonitor/api/v1.0/inspect/template";