refactor: ♻️ 修正登录表单的Ref类型

This commit is contained in:
cshaptx4869
2024-05-11 15:32:00 +08:00
parent 98821ffb8d
commit e1598c3225
2 changed files with 7 additions and 9 deletions

View File

@@ -9,8 +9,8 @@
<div class="flex-center">
<el-switch
v-model="isDark"
:active-icon="Moon"
:inactive-icon="Sunny"
active-icon="Moon"
inactive-icon="Sunny"
@change="changeTheme"
/>
</div>
@@ -56,7 +56,6 @@
<script setup lang="ts">
import { useSettingsStore, usePermissionStore, useAppStore } from "@/store";
import { Sunny, Moon } from "@element-plus/icons-vue";
import { LayoutEnum } from "@/enums/LayoutEnum";
import { ThemeEnum } from "@/enums/ThemeEnum";