fix: sidebar base64 decode (#1975)
This commit is contained in:
1 parent
3891816758
commit
bcd32d44e9
1 file changed
+2
-2
@@ -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() {
|
||||||
|
|||||||
Reference in new issue
Block a user