浏览代码

fix: support tags containing special characters (#2743) (#2748)

Marwane Kalam-Alami 4 年之前
父节点
当前提交
b5af931f88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/components/tags.vue

+ 1 - 1
client/components/tags.vue

@@ -243,7 +243,7 @@ export default {
   router,
   created () {
     this.$store.commit('page/SET_MODE', 'tags')
-    this.selection = _.compact(this.$route.path.split('/'))
+    this.selection = _.compact(decodeURI(this.$route.path).split('/'))
   },
   mounted () {
     this.locales = _.concat(