This commit is contained in:
yanran200830
2022-11-25 17:06:08 +08:00
parent ae1edfe384
commit ddd4bfc033
3 changed files with 7 additions and 6 deletions

View File

@@ -108,10 +108,12 @@
methods: {
getInfo (id) {
this.instance.post(`/app/appcountrysidetourism/queryDetailById?id=${id}`).then(res => {
this.instance.post(`/app/appintegralmerchandise/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.form = res.data
this.form.thumbUrl = res.data.thumbUrl ? JSON.parse(res.data.thumbUrl) : []
this.form.imageUrl = [{
url: res.data.imageUrl
}]
}
})
},