fix : 修复首页数量

This commit is contained in:
dj
2025-07-03 23:08:16 +08:00
parent f74743c00f
commit 17010a15a3

View File

@@ -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: '提示',