Browse Source

视频相关

Lita-Tako 4 months ago
parent
commit
f777f1662a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/systemUtils.js

+ 1 - 1
src/utils/systemUtils.js

@@ -188,7 +188,7 @@ export const getQueryParams = (name) => {
188
 export const downloadLink = (url) => {
188
 export const downloadLink = (url) => {
189
 	const a = document.createElement('a')
189
 	const a = document.createElement('a')
190
 	a.href = url
190
 	a.href = url
191
-	a.download = fileName || 'download'
191
+	a.download = 'download'
192
 	document.body.appendChild(a)
192
 	document.body.appendChild(a)
193
 	a.click()
193
 	a.click()
194
 	document.body.removeChild(a)
194
 	document.body.removeChild(a)