fix: document preview (#2795)

(cherry picked from commit 8d11a070b2fc88285a7cff1ab85ebefee84b6c64)

### What problem does this PR solve?

fix document preview error in file manager.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: chongchuanbing <chongchuanbing@gmail.com>
This commit is contained in:
chongchuanbing 2024-10-11 11:26:59 +08:00 committed by GitHub
parent 18f80743eb
commit bae30e5cc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ const routes = [
],
},
{
path: 'document/:id',
path: '/document/:id',
component: '@/pages/document-viewer',
layout: false,
},