Unverified Commit bcd32d44 authored by takumi9942's avatar takumi9942 Committed by GitHub

fix: sidebar base64 decode (#1975)

parent 38918167
...@@ -473,10 +473,10 @@ export default { ...@@ -473,10 +473,10 @@ export default {
} }
}, },
sidebarDecoded () { sidebarDecoded () {
return JSON.parse(atob(this.sidebar)) return JSON.parse(Buffer.from(this.sidebar, 'base64').toString())
}, },
tocDecoded () { tocDecoded () {
return JSON.parse(atob(this.toc)) return JSON.parse(Buffer.from(this.toc, 'base64').toString())
} }
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment