Skip to content

Commit ad20829

Browse files
authored
Merge pull request #197 from develop-chen/fix(crud)
fix(crud): 修复middleContent插槽导致页面高度异常
2 parents 4acb1c7 + a05bc33 commit ad20829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ma-crud/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<slot name="searchAfterButtons"></slot>
4848
</template>
4949
</ma-search>
50+
<div v-if="$slots.middleContent" class="mb-2"><slot name="middleContent"></slot></div>
5051
</div>
51-
<div class="mb-2"><slot name="middleContent"></slot></div>
5252
<div class="_crud-content">
5353
<div class="operation-tools lg:flex justify-between mb-3" ref="crudOperationRef">
5454
<a-space class="lg:flex block lg:inline-block" >

0 commit comments

Comments
 (0)