mirror of
https://github.com/lstoeferle/vite-vue2-starter
synced 2025-05-24 11:08:20 +08:00
fix: dark mode cannot switch back
This commit is contained in:
parent
4bcbe41a39
commit
01eeff561d
@ -44,7 +44,7 @@
|
||||
</a>
|
||||
<button
|
||||
class="flex items-center justify-center w-9 h-9 focus:outline-none"
|
||||
@click="toggle"
|
||||
@click="toggle()"
|
||||
>
|
||||
<MdiWhiteBalanceSunny v-if="isDark" class="text-yellow-500" />
|
||||
<MdiMoonWaningCrescent v-else class="text-gray-800" />
|
||||
|
Loading…
Reference in New Issue
Block a user