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