Skip to content

Commit

Permalink
refactor: 仪表盘公告区块增加空状态处理
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Aug 23, 2023
1 parent 58e838d commit 6d024a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}}</a-link>
</template>
<div>
<a-empty v-if="list.length === 0">暂无公告</a-empty>
<div v-for="(item, idx) in list" :key="idx" class="item">
<a-tag v-if="item.type === 1" color="orangered">活动</a-tag>
<a-tag v-else-if="item.type === 2" color="cyan">消息</a-tag>
Expand Down

0 comments on commit 6d024a9

Please sign in to comment.