Skip to content

Commit 72db783

Browse files
committed
修复H5图片上传路径错误的问题
1 parent 1bd8664 commit 72db783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vue.H5/src/components/VolVanUploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default {
113113
this.http.post(this.url, forms, true).then(x => {
114114
console.log(x);
115115
var _urls = _files.map(item => {
116-
return { url: this.http.ipAddress + x.data + "/" + item.name };
116+
return { url: this.http.ipAddress + x.data + item.name };
117117
})
118118
this.files.push(..._urls);
119119
})

0 commit comments

Comments
 (0)