mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增工作区域内容模块
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, onMounted, toRefs } from 'vue'
|
||||
import { ref, computed, onMounted, onUnmounted, toRefs } from 'vue'
|
||||
import { Create } from '../Create/index'
|
||||
import { AsideFooter } from '../AsideFooter/index'
|
||||
import { asideWidth, asideCollapsedWidth } from '@/settings/designSetting'
|
||||
@@ -62,6 +62,10 @@ const watchWidth = () => {
|
||||
onMounted(() => {
|
||||
window.addEventListener('resize', watchWidth)
|
||||
})
|
||||
|
||||
onUnmounted(()=> {
|
||||
window.removeEventListener('resize', watchWidth)
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user