Compare commits
2 Commits
dffc735edb
...
d69a6e1e5d
| Author | SHA1 | Date | |
|---|---|---|---|
| d69a6e1e5d | |||
| a67535abbf |
@@ -1,6 +1,7 @@
|
||||
import { downloadFile } from '@/api/system-boot/file'
|
||||
// 下载文件
|
||||
export const download = (urls: string) => {
|
||||
console.log("🚀 ~ download ~ urls:", urls)
|
||||
downloadFile({ filePath: urls }).then((res: any) => {
|
||||
let blob = new Blob([res], {
|
||||
type: urls.includes('.pdf')
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<el-icon>
|
||||
<Link />
|
||||
</el-icon>
|
||||
<a :href="detailData?.lineFilePath.url">
|
||||
<span :href="detailData?.lineFilePath.url">
|
||||
{{ detailData?.lineFilePath.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
Reference in New Issue
Block a user