Merge branch 'lj'
# Conflicts: # service/request.js
This commit is contained in:
@@ -55,7 +55,11 @@
|
||||
methods: {
|
||||
getBanner() {
|
||||
this.$api.getBanner().then(res => {
|
||||
this.swiperList = res.data.data.map(item => this.$api.imgUrl + item.img)
|
||||
res.data.data.forEach(item=>{
|
||||
item.img =this.$api.imgUrl + item.img
|
||||
})
|
||||
this.swiperList = res.data.data
|
||||
// .map(item => this.$api.imgUrl + item.img)
|
||||
})
|
||||
},
|
||||
getNotice() {
|
||||
|
||||
Reference in New Issue
Block a user