Merge pull request #347 from jamebal/dev

style: 去掉分享链接最后的斜杠
This commit is contained in:
jmal 2024-12-31 19:33:25 +08:00 committed by GitHub
commit 8873503f15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 9 deletions

View File

@ -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 !!!

View File

@ -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) {