(cherry picked from commit 8d11a070b2)
### 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>
tags/v0.13.0
| @@ -98,7 +98,7 @@ const routes = [ | |||
| ], | |||
| }, | |||
| { | |||
| path: 'document/:id', | |||
| path: '/document/:id', | |||
| component: '@/pages/document-viewer', | |||
| layout: false, | |||
| }, | |||