Skip to content

数据库小问题 #748

Answered by lizheming
Nofated095 asked this question in Q&A
Discussion options

You must be logged in to vote

Waline 默认使用的是路由作为评论标识符,但他的本质实际上就是文章和评论之前的对应关系,你们可以根据自己情况去做自定义。比如你现在的情况你是可以自己增加 / 标识来处理的。

Waline({
  path: location.pathname + !location.pathname.endsWith('/') ? '/' : ''
})

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mister-Hope
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants