feat: add hasMore prop

fix/workaround/#26
SukkaW 6 years ago
parent fd6e4fa014
commit 94e06a209c

@ -448,7 +448,8 @@
author: comment.author.name,
// 如果不设置 admin 会返回 undefined所以需要嘴一个判断
isPrimary: (disqusjs.config.admin ? (comment.author.username === disqusjs.config.admin) : false),
children: getChildren(+comment.id)
children: getChildren(+comment.id),
hasMore: comment.hasMore
}
};

Loading…
Cancel
Save