This commit is contained in:
邓洁
2023-11-24 00:02:22 +08:00
parent ed477a0ff5
commit dd326df745
26 changed files with 10246 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
<template>
<div class="toggle" @click="toggleClick">
<component :is="siderbarStore.getSiderBarStatus() ? 'Fold' : 'Expand'" class="icon"></component>
</div>
</template>
<script setup>
import {useSiderBar} from '@/store/siderbar.js'
const siderbarStore = useSiderBar()
const toggleClick = () => {
siderbarStore.setSiderBarStatus()
}
</script>