mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-23 06:51:10 +08:00
fix: 修复存量类型警告
This commit is contained in:
@@ -34,16 +34,6 @@ const props = defineProps<{
|
||||
timeFilter?: TimeFilter
|
||||
}>()
|
||||
|
||||
const weekdayNames = computed(() => [
|
||||
t('common.weekday.mon'),
|
||||
t('common.weekday.tue'),
|
||||
t('common.weekday.wed'),
|
||||
t('common.weekday.thu'),
|
||||
t('common.weekday.fri'),
|
||||
t('common.weekday.sat'),
|
||||
t('common.weekday.sun'),
|
||||
])
|
||||
|
||||
// ==================== 核心数字 ====================
|
||||
|
||||
const totalMessages = computed(() => props.messageTypes.reduce((sum, item) => sum + item.count, 0))
|
||||
|
||||
Reference in New Issue
Block a user