mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-28 12:10:20 +08:00
style: lint
This commit is contained in:
@@ -41,13 +41,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { MenuCollapse, UserAvatar, BreadCrumb } from '@/layouts/components'
|
||||
import { useDark, useFullscreen, useToggle } from '@vueuse/core'
|
||||
import { BreadCrumb, MenuCollapse, UserAvatar } from '@/layouts/components'
|
||||
import { useAppStore } from '@/store'
|
||||
import { useDark, useToggle, useFullscreen } from '@vueuse/core'
|
||||
|
||||
const appStore = useAppStore()
|
||||
const isDark = useDark()
|
||||
const toggleDark = () => {
|
||||
function toggleDark() {
|
||||
appStore.toggleDark()
|
||||
useToggle(isDark)()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user