The backend returns to the excel address and downloads it at vue.

download it when it is opened normally on the address bar

I want to open it with window.location.href, but it doesn"t work

what is the solution

Mar.29,2021

window.open ('xxx.xls',' _ blank')

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-1e50ae3-450e7.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-1e50ae3-450e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?