feat: 上传图片调试
This commit is contained in:
parent
0d85f297ca
commit
76d7f240eb
|
@ -239,7 +239,7 @@ export default {
|
|||
success: function (res) {},
|
||||
});
|
||||
|
||||
this.form.url = data[0].path;
|
||||
this.form.url = "http://sl.vrgon.com:8005/uploads/" + data[0].path;
|
||||
},
|
||||
|
||||
// 删除图片
|
||||
|
|
|
@ -191,7 +191,10 @@ export default {
|
|||
// success: function (res) {},
|
||||
// });
|
||||
|
||||
this.imageList = [...this.imageList, data[0].path];
|
||||
this.imageList = [
|
||||
...this.imageList,
|
||||
"http://sl.vrgon.com:8005/uploads/" + data[0].path,
|
||||
];
|
||||
},
|
||||
|
||||
// 上传图片
|
||||
|
|
Loading…
Reference in New Issue