- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
35 lines
731 B
Vue
35 lines
731 B
Vue
<template>
|
|
<el-aside class="h-screen layout-aside w-auto">
|
|
<side class="hidden-xs-only" />
|
|
</el-aside>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { watch } from 'vue'
|
|
import { useRoute } from 'vue-router'
|
|
import side from './side.vue'
|
|
import useSystemStore from '@/stores/modules/system'
|
|
|
|
const systemStore = useSystemStore()
|
|
|
|
const route = useRoute()
|
|
watch(route, () => {
|
|
systemStore.$patch(state => {
|
|
state.menuDrawer = false
|
|
})
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.layout-aside {
|
|
background-color: var(--side-dark-color, var(--el-bg-color));
|
|
border-right: 1px solid var(--el-border-color-lighter);
|
|
}
|
|
|
|
.aside-drawer {
|
|
.el-drawer__body {
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
</style>
|