@gt6/sdk 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gt6-sdk.cjs.js
CHANGED
|
@@ -649,7 +649,7 @@ class ArticlesAPI {
|
|
|
649
649
|
const offset = (page - 1) * limit;
|
|
650
650
|
const paginatedArticleIds = categoryData.articleIds.slice(offset, offset + limit);
|
|
651
651
|
// 获取文章详情 - 修复:提取 articleId 字段
|
|
652
|
-
const articles = await Promise.all(paginatedArticleIds.map(
|
|
652
|
+
const articles = await Promise.all(paginatedArticleIds.map(articleId => this.getArticle_all(articleId)));
|
|
653
653
|
// 应用状态过滤
|
|
654
654
|
let filteredArticles = articles;
|
|
655
655
|
if (options?.status) {
|