uniapp/components/indexPage.vue
@@ -629,8 +629,12 @@ console.log(e) if (e.code == 1) return that.$alert(e.msg); var res = e.data.info; this.topBannerList = res.topBannerList; this.headerColor = this.topBannerList[0].colour; if(res.topBannerList&&res.topBannerList.length>0) { this.topBannerList = res.topBannerList; this.headerColor = this.topBannerList[0].colour; } this.singleLineList = res.singleLineList; this.doubleLineList = res.doubleLineList; this.bottomBannerList = res.bottomBannerList;