Vincent GUFFON 4 年 前
コミット
7cdfb7df39
1 ファイル変更1 行追加3 行削除
  1. 1 3
      components/Layout/Breadcrumbs.vue

+ 1 - 3
components/Layout/Breadcrumbs.vue

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