fix: i18n scope
This commit is contained in:
parent
76cb94c488
commit
5b8d142abb
3 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ const props = defineProps({
|
|||
},
|
||||
})
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'change'])
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ import NamespaceModel from '@/models/namespace'
|
|||
import {useI18n} from 'vue-i18n'
|
||||
import {useTitle} from '@/composables/useTitle'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
const store = useStore()
|
||||
|
||||
const namespaceService = ref(new NamespaceService())
|
||||
|
|
|
@ -25,7 +25,7 @@ import {getErrorText} from '@/message'
|
|||
import Message from '@/components/misc/message.vue'
|
||||
import {clearLastVisited, getLastVisited} from '@/helpers/saveLastVisited'
|
||||
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
|
|
Loading…
Reference in a new issue