File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
packages/web-app-draw-io/src Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export default {
5656 }
5757 },
5858 created () {
59- this .filePath = this .$route .params .filePath
59+ this .filePath = ` / ${ this .$route .params .filePath . split ( ' / ' ). filter ( Boolean ). join ( ' / ' ) } `
6060 this .fileExtension = this .filePath .split (' .' ).pop ()
6161 this .checkPermissions ()
6262 window .addEventListener (' message' , (event ) => {
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ import App from './App.vue'
44const routes = [
55 {
66 name : 'edit' ,
7- path : '/edit/:filePath' ,
7+ path : '/edit/:filePath* ' ,
88 components : {
99 fullscreen : App
1010 } ,
11- meta : { hideHeadbar : true }
11+ meta : {
12+ hideHeadbar : true ,
13+ patchCleanPath : true
14+ }
1215 }
1316]
1417
You can’t perform that action at this time.
0 commit comments