fix: 修改语言切换

This commit is contained in:
MTrun
2021-12-22 15:31:20 +08:00
parent 5b98d5703f
commit a02877e38f
16 changed files with 151 additions and 140 deletions
+1 -2
View File
@@ -114,7 +114,6 @@
import { reactive, ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import { useMessage } from 'naive-ui'
import { useI18n } from 'vue-i18n'
import { requireUrl } from '@/utils'
import { routerTurnByName } from '@/utils'
import shuffle from 'lodash/shuffle'
@@ -142,7 +141,7 @@ const autoLogin = ref(true)
const show = ref(false)
const showBg = ref(false)
const designStore = useDesignStore()
const { t } = useI18n()
const t = window['$t']
onMounted(() => {
setTimeout(() => {