mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-18 17:46:38 +08:00
18 lines
510 B
Vue
18 lines
510 B
Vue
<template>
|
|
<hover-container class="w-40px h-full" :inverted="theme.header.inverted" @click="app.toggleSiderCollapse">
|
|
<icon-line-md-menu-unfold-left v-if="app.siderCollapse" class="text-16px" />
|
|
<icon-line-md-menu-fold-left v-else class="text-16px" />
|
|
</hover-container>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useAppStore, useThemeStore } from '@/store';
|
|
|
|
defineOptions({ name: 'MenuCollapse' });
|
|
|
|
const app = useAppStore();
|
|
const theme = useThemeStore();
|
|
</script>
|
|
|
|
<style scoped></style>
|