修改 时间组件

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

@@ -26,7 +26,7 @@ import { useDictData } from '@/stores/dictData'
import Echart from '@/views/dashboard/components/echart.vue'
import Tableabove from '@/views/dashboard/components/Tableabove.vue'
import { onMounted, reactive, ref, onBeforeMount } from 'vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'Region/overview'
})
@@ -72,6 +72,7 @@ const onSubmit = async () => {
onMounted(() => {
onSubmit()
})
const layout = mainHeight(113) as any
</script>
<style lang="scss" scoped>
@@ -80,7 +81,7 @@ onMounted(() => {
height: 500px;
}
::v-deep(.el-tabs__content) {
height: calc(100vh - 161px);
height: v-bind('layout.height');
overflow-y: auto;
}
</style>