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