diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 1be47e4..1004dba 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -633,7 +633,7 @@ const getTodoList = () => { getHomeTaskInfo().then(res => { if (res.code === 1000) { todoList.value = res.data.rows - todoNum.value=res.data.total + todoNum.value = res.data.total > 99 ? '99+' : res.data.total } else { ElNotification({ title: '提示', @@ -647,7 +647,7 @@ const getDoneList = () => { getDoneTaskInfo().then(res => { if (res.code === 1000) { doneList.value = res.data.rows - doneNum.value=res.data.total + doneNum.value = res.data.total > 99 ? '99+' : res.data.total } else { ElNotification({ title: '提示',