Skip to content

Commit c9298b4

Browse files
committed
修复多文件分批上传url路径指向错误的问题(freesaber)
1 parent 0128b78 commit c9298b4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Vol.Vue/src/components/basic/VolUpload.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,10 @@ export default {
400400
// }
401401
this.fileInfo.push(
402402
...this.files.map((file) => {
403-
return { name: file.name, path: x.data + file.name };
403+
return {
404+
name: file.name,
405+
path: file.path || x.data + file.name,
406+
};
404407
})
405408
);
406409
// this.files.forEach((file) => {

开发版dev/Vue.NetCore/Vol.Vue/src/components/basic/VolUpload.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,10 @@ export default {
400400
// }
401401
this.fileInfo.push(
402402
...this.files.map((file) => {
403-
return { name: file.name, path: x.data + file.name };
403+
return {
404+
name: file.name,
405+
path: file.path || x.data + file.name,
406+
};
404407
})
405408
);
406409
// this.files.forEach((file) => {

0 commit comments

Comments
 (0)