文件不能下载

GST004
王家东 1 week ago
parent ad6eccacdf
commit c4f919b68d
  1. 2
      src/views/userInfo/components/reacList.vue

@ -209,7 +209,7 @@ const headerChange = (pageNumber: any) => {
}
//
const download = async (url:any,name:any) => {
// window.open(import.meta.env.VITE_APP_BASE_API + '/sys/common/zuopin/' + url)
window.open(import.meta.env.VITE_APP_BASE_API + '/sys/common/zuopin/' + url)
const a = document.createElement('a')
a.style.display = 'none'
document.body.appendChild(a)

Loading…
Cancel
Save