This commit is contained in:
liangjian
2026-01-27 16:32:15 +08:00
commit 836c61ac55
303 changed files with 34442 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<template>
<vab-icon class="fold-unfold" :icon="collapse ? unfold : fold" @click="toggleCollapse" />
</template>
<script setup>
import { useSettingsStore } from '/@/store/modules/settings'
defineOptions({
name: 'VabFold',
})
defineProps({
unfold: {
type: String,
default: 'menu-unfold-line',
},
fold: {
type: String,
default: 'menu-fold-line',
},
})
const settingsStore = useSettingsStore()
const { collapse } = storeToRefs(settingsStore)
const { toggleCollapse } = settingsStore
</script>
<style lang="scss" scoped>
.fold-unfold {
color: var(--el-color-grey);
cursor: pointer;
}
</style>