Browse Source

视频相关

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

+ 1 - 0
src/utils/systemUtils.js

@@ -189,6 +189,7 @@ 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 = 'download'
191
 	a.download = 'download'
192
+	a.target = '_blank'
192
 	document.body.appendChild(a)
193
 	document.body.appendChild(a)
193
 	a.click()
194
 	a.click()
194
 	document.body.removeChild(a)
195
 	document.body.removeChild(a)