fix: ts数据

This commit is contained in:
archer
2023-03-26 10:51:47 +08:00
parent 1cbcc62494
commit e289c4ec53
4 changed files with 11 additions and 3 deletions

View File

@@ -35,8 +35,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
pageSize,
data: dataItems,
total: await DataItem.countDocuments({
dataId,
status: 0
dataId
})
}
});