From d9685fbec65f243197814564d7f4d79faaf571df Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Mon, 6 Dec 2021 15:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E6=94=B6=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppNotification/components/read.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) + "人未读"}, ]; } },