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