From 30bd1e664eec6e6fb18eb29f77887b46f5b4af0f Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 31 Dec 2024 11:12:53 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=8E=BB=E6=8E=89=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=9C=80=E5=90=8E=E7=9A=84=E6=96=9C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 10 ++-------- src/views/public/share/shareList.vue | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 43f4eed..45b1db9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -48,14 +48,8 @@ export const constantRoutes = [ }, { path: '/s/:id', - component: Layout, - children: [ - { - path: '', - name: 'share', - component: () => import('@/views/public/share/shareList'), - } - ] + name: 'share', + component: () => import('@/views/public/share/shareList') }, // 404 page must be placed at the end !!! diff --git a/src/views/public/share/shareList.vue b/src/views/public/share/shareList.vue index 4b2bd1e..1969fff 100644 --- a/src/views/public/share/shareList.vue +++ b/src/views/public/share/shareList.vue @@ -1069,7 +1069,7 @@ export default { }) }, pushRouter() { - this.$router.push(`/s/${this.shortId}/?vmode=${this.vmode}`) + this.$router.push(`/s/${this.shortId}?vmode=${this.vmode}`) }, // 点击文件或文件夹 fileClick(row) {