[bug][templates] fix url decoding
This commit is contained in:
parent
2b484514df
commit
1f959ee3a2
|
@ -117,7 +117,7 @@
|
||||||
components: {LinkedText, GrammarTables },
|
components: {LinkedText, GrammarTables },
|
||||||
data() {
|
data() {
|
||||||
const selectedTemplate = this.config.template.enabled
|
const selectedTemplate = this.config.template.enabled
|
||||||
? buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, ''))
|
? buildTemplate(templates, decodeURIComponent(this.$route.path.substr(1).replace(/\/$/, '')))
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Reference in New Issue