diff --git a/src/apps/AppNotification/components/read.vue b/src/apps/AppNotification/components/read.vue index 19b9d474..b0d7b4ac 100644 --- a/src/apps/AppNotification/components/read.vue +++ b/src/apps/AppNotification/components/read.vue @@ -54,8 +54,8 @@ computed: { tabs() { return [ - {name: this.list?.read?.length + "人已读"}, - {name: this.list?.unRead?.length + "人未读"}, + {name: (this.list?.read?.length || 0) + "人已读"}, + {name: (this.list?.unRead?.length || 0) + "人未读"}, ]; } },