饼状图不再统计空名

This commit is contained in:
eoao
2025-06-25 11:46:34 +08:00
parent 9aa8d3a410
commit 6af78c21ea
6 changed files with 199 additions and 202 deletions

View File

@@ -125,7 +125,7 @@
<span>
<Icon icon="mdi-light:email" width="20" height="20"/>
</span>
<span>{{ item.accountEmail }}</span>
<span>{{ item.status === 7 ? formateReceive(item.recipient) : item.accountEmail }}</span>
</div>
<div class="del-status" v-if="item.isDel">
<el-tag type="info" size="small">已删除</el-tag>
@@ -271,6 +271,12 @@ const accountShow = computed(() => {
return uiStore.accountShow && settingStore.settings.manyEmail === 0
})
function formateReceive(recipient) {
recipient = JSON.parse(recipient)
return recipient.map(item => item.address).join(', ')
}
function handleScroll(e) {
}