修改本地文件的图片路径bug

This commit is contained in:
piexlmax
2022-05-19 12:06:54 +08:00
parent 3ef3084070
commit 658ca60f58
4 changed files with 6 additions and 5 deletions

View File

@@ -158,7 +158,8 @@ const downloadFile = (row) => {
if (row.url.indexOf('http://') > -1 || row.url.indexOf('https://') > -1) {
downloadImage(row.url, row.name)
} else {
downloadImage(path.value + row.url, row.name)
debugger
downloadImage(path.value + '/' + row.url, row.name)
}
}