邓洁 : 地址转为经纬度函数

This commit is contained in:
dengj
2023-11-15 17:43:52 +08:00
parent f7537b0b82
commit 830b5482f0
3 changed files with 25 additions and 7 deletions

View File

@@ -51,8 +51,8 @@
methods: {
getBanner(){
this.$api.getBanner().then(res=>{
console.log('lunbo',res.data.data);
this.swiperList = res.data.data.map(item=>item.img)
console.log('轮播图',res.data.data);
this.swiperList = res.data.data.map(item=>this.$api.imgUrl+item.img)
})
},
getNotice(){