diff --git a/public/js/twikoo-loader.js b/public/js/twikoo-loader.js index a2a2815..e1a07e9 100644 --- a/public/js/twikoo-loader.js +++ b/public/js/twikoo-loader.js @@ -41,6 +41,9 @@ init() } + // 手动触发入口,便于在需要时重新初始化 + window.runTwikooComments = onLoad + if (document.readyState === 'complete') { onLoad() } else { diff --git a/src/components/Comment.astro b/src/components/Comment.astro index 6ba3d19..cdbc2a4 100644 --- a/src/components/Comment.astro +++ b/src/components/Comment.astro @@ -1,6 +1,17 @@ -

comment

-

留言 / 评论

-
+

comment

+

留言 / 评论

+
+

+ 如果暂时没有看到评论,请点击下方按钮重新加载。 +

+ +