diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 14c847a..f88cc8d 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -33,7 +33,7 @@ // } async getSwiper(){ - const { message } = await this.$u.get("/home/swiperdata") + const { message } = await this.$u.api.getSwiperdata() this.swiperList = message.map(v=>({...v,image:v.image_src})) } }