gitment icon indicating copy to clipboard operation
gitment copied to clipboard

Gitment 对于新页面不会创建新的 issue

Open weihuayi opened this issue 5 years ago • 1 comments

我在每一个页面中放入下面的代码:

<script>
var gitment = new Gitment({
  id: 'window.location.pathname', // 可选。默认为 location.href
  owner: 'xxxxxxxx',
  repo: 'xxxxxxxxxx',
  oauth: {
    client_id: '××××××××××××',
    client_secret: 'xxxxxxxxxxxxxxxxxxxxx',
  },
})

结果创建几个页面的 issue 后, 新的页面再加入上面的代码,就不会再创建新的 issue, 就直接用其它页面的 issue. 哪位遇到过类似的情况?如何解决?

weihuayi avatar Mar 17 '19 23:03 weihuayi

你检查一下id是否重复了

carvendy avatar Mar 18 '19 13:03 carvendy