修改 时间组件

This commit is contained in:
GGJ
2024-01-04 16:43:07 +08:00
parent 450b37fae9
commit 05703d4267
7 changed files with 130 additions and 24 deletions

View File

@@ -45,10 +45,11 @@
<script setup lang="ts">
import { ref, reactive, defineExpose, computed } from 'vue'
import { defaultAttribute } from '@/components/table/defaultAttribute'
import { mainHeight } from '@/utils/layout'
const areaData = ref<any[]>([])
const levelData = ref<any[]>([])
const shareData = ref<any[]>([])
const areaData = ref([])
const levelData = ref([])
const shareData = ref([])
const tableHeaderAera = ref<any[]>([
{ prop: 'areaName', label: '区域名称', width: '120px' },
@@ -104,12 +105,14 @@ const formatter = (row: any) => {
}
}
defineExpose({ info })
const layout = mainHeight(175) as any
const defaultMain = mainHeight(185) as any
</script>
<style lang="scss" scoped>
::v-deep(.el-tabs--left) {
height: calc(100vh - 220px);
::v-deep(.el-tabs--left, ) {
height: v-bind('layout.height');
}
.default-main {
height: calc(100vh - 220px);
height: v-bind('defaultMain.height');
}
</style>