mirror of
https://gitee.com/honghuangdc/soybean-admin-element-plus.git
synced 2025-12-30 10:22:25 +00:00
fix(packages): 🐛 fix full-content display issues when fixedHeaderAndTab is false. fixed [#131]
This commit is contained in:
@@ -69,7 +69,8 @@ const isContentScroll = computed(() => props.scrollMode === 'content');
|
||||
const isVertical = computed(() => props.mode === 'vertical');
|
||||
const isHorizontal = computed(() => props.mode === 'horizontal');
|
||||
|
||||
const fixedHeaderAndTab = computed(() => props.fixedTop || (isHorizontal.value && isWrapperScroll.value));
|
||||
// fixedTop is theme.fixedHeaderAndTab
|
||||
const fixedHeaderAndTab = computed(() => props.fixedTop);
|
||||
|
||||
// css
|
||||
const leftGapClass = computed(() => {
|
||||
@@ -157,7 +158,7 @@ function handleClickMask() {
|
||||
<slot name="tab"></slot>
|
||||
</div>
|
||||
<div
|
||||
v-show="fullContent || fixedHeaderAndTab"
|
||||
v-show="fixedHeaderAndTab"
|
||||
class="flex-shrink-0 overflow-hidden"
|
||||
:class="[style['layout-tab-placement']]"
|
||||
></div>
|
||||
|
||||
Reference in New Issue
Block a user