中文目录链接 uri decode

This commit is contained in:
ehlxr 2018-10-11 17:24:41 +08:00
parent d5aa80b080
commit 6f6385321a

View File

@ -69,7 +69,7 @@
<span>Link:</span>
<a href={{ . }}>
<script>
document.write(decodeURI(location))
document.write(decodeURI(location.origin + location.pathname))
</script>
</a>
</p>