Skip to content

Commit

Permalink
🎨 .. -> ~
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZhang73 committed Nov 14, 2023
1 parent 65a838a commit f0eb178
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion public/annotation/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "2.0.4",
"annotation": {
"video": {
"src": "video/example.mp4",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<script setup>
import { storeToRefs } from 'pinia'
import VersionBadge from '~/components/VersionBadge.vue'
import { useAnnotationStore } from '../store/annotation.js'
import { useMainStore } from '../store/index.js'
import { useAnnotationStore } from '~/store/annotation.js'
import { useMainStore } from '~/store/index.js'
import DrawerAnnotationControl from './DrawerAnnotationControl.vue'
import DrawerVideoControl from './DrawerVideoControl.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/components/DrawerAnnotationControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<script setup>
import { storeToRefs } from 'pinia'
import { useAnnotation } from '~/hooks/annotation.js'
import { useAnnotationStore } from '../store/annotation.js'
import { useMainStore } from '../store/index.js'
import { useAnnotationStore } from '~/store/annotation.js'
import { useMainStore } from '~/store/index.js'
const { submitURL } = storeToRefs(useMainStore())
const annotationStore = useAnnotationStore()
Expand Down
2 changes: 1 addition & 1 deletion src/libs/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Utils
*/
import { Dialog, Notify } from 'quasar'
import { useAnnotationStore } from '../store/annotation.js'
import { useAnnotationStore } from '~/store/annotation.js'

export default {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/pages/configuration/Configuration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script setup>
import { exportFile } from 'quasar'
import { useConfigurationStore } from '~/store/configuration.js'
import utils from '../../libs/utils.js'
import utils from '~/libs/utils.js'
import ActionLabelTable from './ActionLabelTable.vue'
import ObjectLabelTable from './ObjectLabelTable.vue'
import SkeletonTypeTable from './SkeletonTypeTable.vue'
Expand Down
12 changes: 6 additions & 6 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@ const router = createRouter({
{
name: 'annotation',
path: '/',
component: () => import('../pages/annotation/Annotation.vue')
component: () => import('~/pages/annotation/Annotation.vue')
},
{
name: 'configuration',
path: '/configuration',
component: () => import('../pages/configuration/Configuration.vue')
component: () => import('~/pages/configuration/Configuration.vue')
},
{
name: 'preference',
path: '/preference',
component: () => import('../pages/preference/Preference.vue')
component: () => import('~/pages/preference/Preference.vue')
},
{
name: 'help',
path: '/help',
component: () => import('../pages/help/Help.vue')
component: () => import('~/pages/help/Help.vue')
},
{
name: 'about',
path: '/about',
component: () => import('../pages/about/About.vue')
component: () => import('~/pages/about/About.vue')
},
{
name: 'notfound',
path: '/:pathMatch(.*)*',
component: () => import('../pages/notfound/NotFound.vue')
component: () => import('~/pages/notfound/NotFound.vue')
}
]
})
Expand Down
2 changes: 1 addition & 1 deletion src/store/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { computed, reactive, toRefs, watch } from 'vue'
import utils from '~/libs/utils.js'
import { useMainStore } from '~/store/index.js'
import { usePreferenceStore } from '~/store/preference.js'
import { ActionAnnotation, ObjectAnnotation, RegionAnnotation, SkeletonAnnotation } from '../libs/annotationlib.js'
import { ActionAnnotation, ObjectAnnotation, RegionAnnotation, SkeletonAnnotation } from '~/libs/annotationlib.js'

const DEFAULT_ANNOTATION = {
video: {
Expand Down

0 comments on commit f0eb178

Please sign in to comment.