|
|
@@ -31,9 +31,7 @@
|
|
|
|
|
|
const crumbs = computed(()=>{
|
|
|
const fullPath = route.value.path
|
|
|
- const params = fullPath.startsWith('/')
|
|
|
- ? fullPath.substring(1).split('/')
|
|
|
- : fullPath.split('/')
|
|
|
+ const params = fullPath.startsWith('/') ? fullPath.substring(1).split('/') : fullPath.split('/')
|
|
|
const crumbs:Array<AnyJson> = []
|
|
|
let path = ''
|
|
|
params.forEach((param, index) => {
|