Commit 944ff836685efd300e5cb1be5ce755844bfa765c
1 parent
f135412f
判断关注达人是否为空,为空不显示达人列表组件
Showing
1 changed file
with
2 additions
and
1 deletions
src/pages/optimization/optimization.vue
| ... | ... | @@ -5,6 +5,7 @@ |
| 5 | 5 | <!-- <van-pull-refresh v-model="isLoading" pulling-text="下拉刷新..." loosing-text="释放刷新" loading-text="加载中..." success-text="刷新成功" @refresh="onRefresh"> --> |
| 6 | 6 | |
| 7 | 7 | <!-- 标题 --> |
| 8 | + <div v-if="dresserList&&dresserList.length"> | |
| 8 | 9 | <text-title-box @more="h5More" |
| 9 | 10 | :titles="{ |
| 10 | 11 | title: '已关注达人', |
| ... | ... | @@ -20,7 +21,7 @@ |
| 20 | 21 | :dresserList="item"> |
| 21 | 22 | </dresserList> |
| 22 | 23 | </div> |
| 23 | - | |
| 24 | + </div> | |
| 24 | 25 | <!-- 商品部分 --> |
| 25 | 26 | <div class="goods-list-box"> |
| 26 | 27 | ... | ... |