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

valine提交web无响应 #434

Closed
ershengaa opened this issue Jan 7, 2024 · 5 comments
Closed

valine提交web无响应 #434

ershengaa opened this issue Jan 7, 2024 · 5 comments

Comments

@ershengaa
Copy link

您好,麻烦帮忙看下这个问题~

  1. valine点击提交时web无响应
  2. 可复现的网址: ershengaaa.cn
  3. valine版本:4.14.18
@ershengaa
Copy link
Author

valine版本:1.4.18

@xCss
Copy link
Owner

xCss commented Jan 8, 2024

抱歉,我在你的页面上没有找出是什么问题,更新下版本试试,Valine的最新版本是1.5.1

@ershengaa
Copy link
Author

抱歉,我在你的页面上没有找出是什么问题,更新下版本试试,Valine的最新版本是1.5.1

已经更新到1.5.1,还是无响应😭

@xCss
Copy link
Owner

xCss commented Jan 9, 2024

new Valine({
    el: '#vcomments',
    appId: 'W30dxxxxxxxxxxxxxxx-MdYXbMMI# 必填',
    appKey: 'zK22xxxxxxxxxxxxxxxxxxNp# 必填',
    serverURLs: 'https://w30dxxxx.api.lncldglobal.com# 必填 https://你的api',
    // other code
});

我看你的页面中初始化配置的时候,# 必填之类的注释也在配置里,你看看你的yml文件,应该在#号前加一个空格或者删掉注释试下。

@ershengaa
Copy link
Author

new Valine({
    el: '#vcomments',
    appId: 'W30dxxxxxxxxxxxxxxx-MdYXbMMI# 必填',
    appKey: 'zK22xxxxxxxxxxxxxxxxxxNp# 必填',
    serverURLs: 'https://w30dxxxx.api.lncldglobal.com# 必填 https://你的api',
    // other code
});

我看你的页面中初始化配置的时候,# 必填之类的注释也在配置里,你看看你的yml文件,应该在#号前加一个空格或者删掉注释试下。

删掉注释之后可以了,感谢大佬 (^▽^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants