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

如何设置评论插件的 path? #1094

Open
2 tasks done
AnzhiZhang opened this issue May 13, 2024 · 0 comments
Open
2 tasks done

如何设置评论插件的 path? #1094

AnzhiZhang opened this issue May 13, 2024 · 0 comments

Comments

@AnzhiZhang
Copy link

请确认

问题描述

我在使用 waline 评论插件,想将 path 设置为 window.location.pathname.replace(/\/$/,''),但是在前端会变成 path: window.location.pathname.replace(/\/$/,'),我尝试了使用引号包裹配置项,还有换行,但都没有解决,请问是否有解决方案?

参见:https://waline.js.org/reference/client/props.html#path

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

1 participant