Compare commits

..

No commits in common. 'cc160088d869e68bcfa0a2d55f0f613cd9840cd9' and '7aa844bffdc2ec23f9099e2df23be185bd1abf8f' have entirely different histories.

  1. 4
      src/views/userInfo/components/reacList.vue

@ -209,11 +209,11 @@ 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)
a.href = import.meta.env.VITE_APP_BASE_API + '/sys/common/zuopin/' + url
a.href = import.meta.env.VITE_APP_BASE_API + '/sys/common' + url
a.setAttribute('download', name);
a.click()
document.body.removeChild(a)

Loading…
Cancel
Save