Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【评论插件】页底红字:Utterance #2320

Closed
1985312383 opened this issue Apr 23, 2024 · 2 comments
Closed

【评论插件】页底红字:Utterance #2320

1985312383 opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@1985312383
Copy link

描述bug
【此项必填】简单说明目前出现的现象、相关的错误提示、日志等、截图
image

期望的正常结果
没有这个红色的Utterance

复现步骤
我在某一次2.几到3. 的更新后,全覆盖分支更新,然后修改了相应的主json的参数,其他的没更改

环境

  • 【必填】NotionNext版本 [3.15]
  • 【必填】所有
  • 【必填】vercel
@1985312383 1985312383 added the bug Something isn't working label Apr 23, 2024
@tangly1024 tangly1024 changed the title 页底红字:Utterance 【评论插件】页底红字:Utterance Apr 23, 2024
@tangly1024
Copy link
Owner

现在版本,至少要有两个及两个以上的评论插件,才会显示此红字,用于引导在不同评论间切换。
只有一个就不会显示这个红字。

相关代码 :

{!(validChildren.length === 1 && siteConfig('COMMENT_HIDE_SINGLE_TAB')) && (

 {!(validChildren.length === 1 && siteConfig('COMMENT_HIDE_SINGLE_TAB')) && (
      .l..
      )}

@1985312383
Copy link
Author

现在版本,至少要有两个及两个以上的评论插件,才会显示此红字,用于引导在不同评论间切换。 只有一个就不会显示这个红字。

相关代码 :

{!(validChildren.length === 1 && siteConfig('COMMENT_HIDE_SINGLE_TAB')) && (

 {!(validChildren.length === 1 && siteConfig('COMMENT_HIDE_SINGLE_TAB')) && (
      .l..
      )}

感谢作者大大的回复,原来在主json设置里新更新的有个和这个代码对应的true false选项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants