fix: auto-import自动导入eslint报未定义错误

Former-commit-id: 5aafa2907d8045ebdbe45d63d52317ea25a238f9
This commit is contained in:
haoxr
2023-01-15 10:36:14 +08:00
parent 3a24f39649
commit 3c38628218
8 changed files with 276 additions and 22 deletions

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
import { ElMessage } from 'element-plus';
import SvgIcon from '@/components/SvgIcon/index.vue';
import { useAppStore } from '@/store/modules/app';
@@ -25,7 +24,7 @@ function handleLanguageChange(lang: string) {
@command="handleLanguageChange"
>
<div class="cursor-pointer w-[40px] h-[50px] leading-[50px] text-center">
<svg-icon class-name="international-icon" icon-class="language" />
<svg-icon icon-name="language" />
</div>
<template #dropdown>
<el-dropdown-menu>

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import { ref } from 'vue';
import { ElMessage } from 'element-plus';
import { useAppStore } from '@/store/modules/app';
import SvgIcon from '@/components/SvgIcon/index.vue';