refactor: ♻️ eslint 代码规范检测修改

Former-commit-id: 0a1da312a15a849433d40c2727e4fa3a70e8b625
This commit is contained in:
haoxr
2023-05-16 01:05:37 +08:00
parent 61ad332877
commit 63c4a2a86d
18 changed files with 62 additions and 63 deletions

View File

@@ -50,12 +50,12 @@ onMounted(() => {
<div class="flex justify-center" @click.stop>
<el-switch
v-model="isDark"
@change="toggleDark"
inline-prompt
:active-icon="IconEpMoon"
:inactive-icon="IconEpSunny"
active-color="var(--el-fill-color-dark)"
inactive-color="var(--el-color-primary)"
@change="toggleDark"
/>
</div>
@@ -79,12 +79,12 @@ onMounted(() => {
<ul class="w-full space-x-2 flex justify-center py-2">
<li
class="inline-block w-[30px] h-[30px] cursor-pointer"
v-for="(color, index) in themeColors"
:key="index"
class="inline-block w-[30px] h-[30px] cursor-pointer"
:style="{ background: color }"
@click="changeThemeColor(color)"
></li>
/>
</ul>
<el-divider>导航设置</el-divider>