fix: 生产打包编译报错问题修复

Former-commit-id: 3998de871def78ea6f61b3ecd368411d50a2c6f9
This commit is contained in:
郝先瑞
2022-05-09 13:22:21 +08:00
parent eab11687aa
commit d0660ab59d
7 changed files with 129 additions and 120 deletions

View File

@@ -19,14 +19,13 @@
<script setup lang="ts">
import { computed } from 'vue';
import useStore from '@/store';
const { app } = useStore();
const language = computed(() => app.language);
import { useI18n } from 'vue-i18n';
import { ElMessage } from 'element-plus';
import SvgIcon from '@/components/SvgIcon/index.vue';
const { app } = useStore();
const language = computed(() => app.language);
const { locale } = useI18n();
function handleSetLanguage(lang: string) {