修改 时间组件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user