|
|
@@ -50,10 +50,9 @@ export default {
|
|
|
this.form.content = response.oneData.CONTENT
|
|
|
|
|
|
this.imageAd = response.oneData.IMAGE;
|
|
|
- this.form.image = tool.getLocaleLink(response.oneData.IMAGE, '/uploads/');
|
|
|
- this.defaultImageUrl = tool.getLocaleLink(response.oneData.IMAGE, '/uploads/');
|
|
|
+ this.form.image = tool.getLocaleLink(response.oneData.IMAGE, '/files/');
|
|
|
+ this.defaultImageUrl = tool.getLocaleLink(response.oneData.IMAGE, '/files/');
|
|
|
|
|
|
- this.defaultImageUrl = response.oneData.IMAGE
|
|
|
this.allLocation = response.allLocation
|
|
|
this.loading = false
|
|
|
this.isEdit = true
|
|
|
@@ -103,8 +102,8 @@ export default {
|
|
|
},
|
|
|
handleSuccess (imageUrl) {
|
|
|
this.imageAd = imageUrl
|
|
|
- this.form.image = tool.getLocaleLink(imageUrl, '/uploads/')
|
|
|
- this.defaultImageUrl = tool.getLocaleLink(imageUrl, '/uploads/')
|
|
|
+ this.form.image = tool.getLocaleLink(imageUrl, '/files/')
|
|
|
+ this.defaultImageUrl = tool.getLocaleLink(imageUrl, '/files/')
|
|
|
},
|
|
|
}
|
|
|
}
|