qirong
2024-01-19 b56e85165dd4fa9cb868aec83370c046adfa7950
1
2
3
4
5
6
7
8
9
<template>
  <div>
    <svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle" />
  </div>
</template>
 
<script setup lang="ts">
const { isFullscreen, toggle } = useFullscreen();
</script>