소스 검색

fix: fix Warning: No match found for location with path "/logs"

AprildreamMI 2 년 전
부모
커밋
16a2debf7f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/newtab/router.js

+ 1 - 1
src/newtab/router.js

@@ -86,7 +86,7 @@ const routes = [
   },
   {
     name: 'logs-details',
-    path: '/logs/:id',
+    path: '/logs/:id?',
     component: LogsDetails,
   },
   {