mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-23 16:10:21 +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)()
|
||||
}
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useAppStore } from '@/store'
|
||||
import { AppTab } from '@/layouts/components'
|
||||
import SideBar from './sidebar/index.vue'
|
||||
import AppHeader from './header/index.vue'
|
||||
import { useAppStore } from '@/store'
|
||||
import { AppTab } from '@/layouts/components'
|
||||
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user