优化代码
This commit is contained in:
@@ -20,6 +20,7 @@ import { ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { setLocale } from '@/i18n'
|
||||
|
||||
|
||||
const { locale } = useI18n()
|
||||
const currentLanguage = ref(locale.value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user