feat(Layout): Add topLeft layout

This commit is contained in:
陈凯龙
2022-01-19 16:29:35 +08:00
parent 839b6015b8
commit 71b1c5e10c
28 changed files with 571 additions and 166 deletions

View File

@@ -1,6 +1,11 @@
<script setup lang="ts">
import { computed, unref } from 'vue'
import { useAppStore } from '@/store/modules/app'
import { propTypes } from '@/utils/propTypes'
defineProps({
color: propTypes.string.def('')
})
const appStore = useAppStore()
@@ -17,6 +22,7 @@ const toggleCollapse = () => {
<Icon
:size="18"
:icon="collapse ? 'ant-design:menu-unfold-outlined' : 'ant-design:menu-fold-outlined'"
:color="color"
class="cursor-pointer"
@click="toggleCollapse"
/>