Explorar o código

feat: 回退ID转码

zhangyuhan hai 1 ano
pai
achega
8201a32a87

+ 1 - 1
apps/bigmember_pc/src/views/article-content/components/ContentRightTimeLine.vue

@@ -27,7 +27,7 @@ function doOpen(item) {
       name: currentRoute.name,
       params: {
         content: 'content',
-        id: decodeURIComponent(item.id) + '.html'
+        id: item.id + '.html'
       },
       query: currentRoute.query
     }

+ 1 - 1
apps/bigmember_pc/src/views/article-content/composables/useArticleUtil.js

@@ -5,7 +5,7 @@ export function doOpenArticlePage({ id }) {
   const link = router.resolve({
     name: 'article_detail',
     params: {
-      id: decodeURIComponent(id),
+      id: id,
       content: 'content'
     }
   })