diff --git a/ui/src/components/global.less b/ui/src/components/global.less index fb1124d..f21907e 100644 --- a/ui/src/components/global.less +++ b/ui/src/components/global.less @@ -359,6 +359,7 @@ body { .ant-layout-sider-children { overflow-y: hidden; + max-height: 100vh; &:hover { overflow-y: auto; diff --git a/ui/src/views/cmdb/relation_views/index.vue b/ui/src/views/cmdb/relation_views/index.vue index ad25f4a..9744f4f 100644 --- a/ui/src/views/cmdb/relation_views/index.vue +++ b/ui/src/views/cmdb/relation_views/index.vue @@ -129,7 +129,7 @@ export default { setTimeout(() => { this.setColumnWidth() console.log('set column') - }, 100) + }, 200) } this.loadRoot() return result @@ -206,7 +206,7 @@ export default { this.$refs.table.renderClear() setTimeout(() => { this.refreshTable(true) - }, 100) + }, 200) }, async judgeCITypes (q) {