登录相关配置

This commit is contained in:
Jason
2022-09-13 17:41:24 +08:00
parent f4eca5bc13
commit b8895342ac
14 changed files with 289 additions and 88 deletions

View File

@@ -4,7 +4,6 @@
*/
export function streamFileDownload(file: any, fileName = '文件名称.zip') {
const blob = new Blob([file], { type: 'application/octet-stream;charset=UTF-8' })
console.log(blob.text())
const url = window.URL.createObjectURL(blob)
const link = document.createElement('a')
link.style.display = 'none'