mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-01 06:39:01 +08:00
14 lines
269 B
Vue
14 lines
269 B
Vue
<template>
|
|
<i
|
|
class="mr-16 cursor-pointer"
|
|
:class="isFullscreen ? 'i-fe:minimize' : 'i-fe:maximize'"
|
|
@click="toggle"
|
|
/>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useFullscreen } from '@vueuse/core'
|
|
|
|
const { isFullscreen, toggle } = useFullscreen()
|
|
</script>
|