mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-23 20:06:37 +08:00
15 lines
451 B
Vue
15 lines
451 B
Vue
<template>
|
|
<div class="flex-center h-36px text-[#333639] dark:text-[#ffffffd1] cursor-pointer" @click="toggleMenu">
|
|
<icon-ph-caret-double-right-bold v-if="app.menu.collapsed" class="text-16px" />
|
|
<icon-ph-caret-double-left-bold v-else class="text-16px" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useAppStore } from '@/store';
|
|
|
|
const app = useAppStore();
|
|
const { toggleMenu } = useAppStore();
|
|
</script>
|
|
<style scoped></style>
|