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; }); };