From ef9a5e36db7070c9af289194c88fb9545318ae51 Mon Sep 17 00:00:00 2001 From: Teo <2642673902@qq.com> Date: Tue, 16 Sep 2025 19:22:15 +0800 Subject: [PATCH] 1 --- src/layout/components/Sidebar/SidebarItem.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 355fd99..08933a7 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -69,13 +69,14 @@ onMounted(() => { }); // 获取我的待办 const getWaitingList = () => { - pageByTaskWait({ pageNum: 1, pageSize: 10 }).then((resp) => { + pageByTaskWait({ pageNum: 1, pageSize: 10, projectId: 0 }).then((resp) => { total.value = resp.total; + console.log('🚀 ~ getWaitingList ~ resp.total:', resp.total); }); }; // 获取我的抄送 const getChaoList = () => { - pageByTaskCopy({ pageNum: 1, pageSize: 10 }).then((resp) => { + pageByTaskCopy({ pageNum: 1, pageSize: 10, projectId: 0 }).then((resp) => { totalChao.value = resp.total; }); };