sidebar scroll

This commit is contained in:
pycook 2019-12-09 17:16:38 +08:00
parent 90b1b6b7af
commit dfe1ba55d5
2 changed files with 3 additions and 2 deletions

View File

@ -359,6 +359,7 @@ body {
.ant-layout-sider-children { .ant-layout-sider-children {
overflow-y: hidden; overflow-y: hidden;
max-height: 100vh;
&:hover { &:hover {
overflow-y: auto; overflow-y: auto;

View File

@ -129,7 +129,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.setColumnWidth() this.setColumnWidth()
console.log('set column') console.log('set column')
}, 100) }, 200)
} }
this.loadRoot() this.loadRoot()
return result return result
@ -206,7 +206,7 @@ export default {
this.$refs.table.renderClear() this.$refs.table.renderClear()
setTimeout(() => { setTimeout(() => {
this.refreshTable(true) this.refreshTable(true)
}, 100) }, 200)
}, },
async judgeCITypes (q) { async judgeCITypes (q) {