在reveal.js中,我如何有一个内部链接<a href="/#/13/0/-1">Link</a>
,它实际上跳到幻灯片的开头而不是结尾。
当我单击链接时,它跳到localhost:3000/#/13/0/5
。当我在网址中输入/#/13/0/-1
并按Enter时,它是有效的...,当我在链接中使用target="_blank"
时。
是否有配置错误? 我使用最新的master分支。
Reveal.initialize({
controls: true,
progress: true,
history: true,
hash: false,
fragmentInURL: true,
center: true,
mouseWheel: false,
slideNumber: "c/t",
transition: 'fade', // none/fade/slide/convex/concave/zoom
width: 960,
heigh: 540,
margin: 0,
minScale: 0.001,
maxScale: 40,
pdfSeparateFragments: true,
hideInactiveMouse: true,
hideMouseTime: 1000,