feat:【antd】【crm】优化 backlog 的整体代码

This commit is contained in:
YunaiV
2025-09-30 13:08:46 +08:00
parent f381f934e8
commit 0d1901abdb
11 changed files with 21 additions and 10 deletions

View File

@@ -78,12 +78,12 @@ async function getCount() {
}
/** 激活时 */
onActivated(async () => {
onActivated(() => {
getCount();
});
/** 初始化 */
onMounted(async () => {
onMounted(() => {
getCount();
});
</script>
@@ -104,9 +104,9 @@ onMounted(async () => {
</List.Item.Meta>
<template #extra>
<Badge
v-if="item.count.value > 0"
:color="item.menu === leftMenu ? 'blue' : 'red'"
:count="item.count.value"
:show-zero="true"
/>
</template>
</List.Item>