perf(setting-drawer): perf setting-drawer

This commit is contained in:
vben
2020-12-13 21:17:37 +08:00
parent 0362ab26b5
commit ed41e5082f
16 changed files with 804 additions and 566 deletions

View File

@@ -103,7 +103,7 @@ export default defineComponent({
const isHorizontal = unref(getIsHorizontal) || getSplit.value;
return {
height: isHorizontal ? `calc(100%)` : `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
height: isHorizontal ? '100%' : `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
overflowY: isHorizontal ? 'hidden' : 'auto',
};
}