PageRouteInfo.vue 536 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <table class="demo-table">
  3. <tr>
  4. <th width="80">
  5. name
  6. </th>
  7. <td>{{ $route.name }}</td>
  8. </tr>
  9. <tr>
  10. <th>path</th>
  11. <td>{{ $route.path }}</td>
  12. </tr>
  13. <tr>
  14. <th>params</th>
  15. <td>{{ $route.params }}</td>
  16. </tr>
  17. <tr>
  18. <th>query</th>
  19. <td>{{ $route.query }}</td>
  20. </tr>
  21. <tr>
  22. <th>hash</th>
  23. <td>{{ $route.hash }}</td>
  24. </tr>
  25. <tr>
  26. <th>fullPath</th>
  27. <td>{{ $route.fullPath }}</td>
  28. </tr>
  29. </table>
  30. </template>