Fix(我的):轮播广告图不配置则不显示

This commit is contained in:
lifizer
2024-09-04 16:35:39 +08:00
parent 1a231d6715
commit 06abd34261
+2 -2
View File
@@ -203,7 +203,7 @@
</view>
</view>
<!-- 我的服务结束 -->
<view v-if="userCenterCarouselShow== 1" class="banner-wrap">
<view v-if="userCenterCarouselShow === 1 && userCenterCarousel.length > 0" class="banner-wrap">
<!-- <image
:src="bannerBgUrl"
mode="widthFix"
@@ -269,7 +269,7 @@ export default {
mixins: [pageListenMixins],
data() {
return {
userCenterCarousel:[],
userCenterCarousel: [],
userCenterCarouselShow: 0,
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
webUrl: this.$VUE_APP_RESOURCES_URL,