diff --git a/functions/api/manage/batch/list.js b/functions/api/manage/batch/list.js index d7a986b6..18e7fabd 100644 --- a/functions/api/manage/batch/list.js +++ b/functions/api/manage/batch/list.js @@ -116,8 +116,8 @@ export async function onRequestGet(context) { continue; } - // 跳过没有元数据的文件 - if (!item.metadata) { + // 跳过没有元数据或有效时间戳的记录 + if (!item.metadata || !item.metadata.TimeStamp) { continue; }