refactor: 仪表盘公告区块增加空状态处理
This commit is contained in:
parent
58e838d5f9
commit
6d024a90d7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user