You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
953 B

  1. <template>
  2. <v-card>
  3. <v-tabs
  4. v-model="tab"
  5. >
  6. <v-tabs-slider color="primary" />
  7. <v-tab href="#tab-project" class="text-capitalize">
  8. Project
  9. </v-tab>
  10. <v-tab href="#tab-auto-labeling" class="text-capitalize">
  11. Auto Labeling
  12. </v-tab>
  13. </v-tabs>
  14. <v-divider />
  15. <v-tabs-items v-model="tab">
  16. <v-tab-item value="tab-project">
  17. <project-config />
  18. </v-tab-item>
  19. <v-tab-item value="tab-auto-labeling">
  20. <config-list />
  21. </v-tab-item>
  22. </v-tabs-items>
  23. </v-card>
  24. </template>
  25. <script>
  26. import ProjectConfig from '@/components/containers/projects/ProjectConfig'
  27. import ConfigList from '@/components/containers/settings/ConfigList'
  28. export default {
  29. layout: 'project',
  30. components: {
  31. ProjectConfig,
  32. ConfigList
  33. },
  34. data() {
  35. return {
  36. tab: null
  37. }
  38. },
  39. validate({ params }) {
  40. return /^\d+$/.test(params.id)
  41. }
  42. }
  43. </script>