龚焕茏
2024-03-06 a473c0680b7b003c33fa6ae5f646eb851e17fe8f
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>