From 94e06a209ce06d67a6051402442035c0824139a3 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 19 May 2019 18:13:55 +0800 Subject: [PATCH] feat: add hasMore prop --- src/disqus.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/disqus.js b/src/disqus.js index 1676c94..57d56d7 100644 --- a/src/disqus.js +++ b/src/disqus.js @@ -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 } };