✏️ 修正拼写错误

This commit is contained in:
BTMuli
2023-06-16 15:48:07 +08:00
parent fd89a7cc65
commit 1eb78db08c

View File

@@ -1,6 +1,6 @@
<template>
<div class="switch-box">
<div class="switch-btn" @click="swithcTheme()">
<div class="switch-btn" @click="switchTheme()">
<v-icon style="color:var(--theme-switch-icon)">
{{ themeGet === 'default' ? 'mdi-weather-night' : 'mdi-weather-sunny' }}
</v-icon>
@@ -31,7 +31,7 @@ onMounted(async () => {
await listenOnTheme();
});
async function swithcTheme () {
async function switchTheme () {
appStore.changeTheme();
await event.emit("readTheme", themeGet.value);
}