mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:13:40 +08:00
fix(menu): calc 0 不能省略单位 (#124)
This commit is contained in:
@@ -104,7 +104,7 @@ export default defineComponent({
|
||||
return {
|
||||
height: isHorizontal
|
||||
? `calc(100% + 1px)`
|
||||
: `calc(100% - ${props.showLogo ? '48px' : '0'})`,
|
||||
: `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
|
||||
overflowY: isHorizontal ? 'hidden' : 'auto',
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user