Skip to content

Commit

Permalink
Merge pull request #197 from develop-chen/fix(crud)
Browse files Browse the repository at this point in the history
fix(crud): 修复middleContent插槽导致页面高度异常
  • Loading branch information
kanyxmo authored Jul 3, 2024
2 parents 4acb1c7 + a05bc33 commit ad20829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ma-crud/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<slot name="searchAfterButtons"></slot>
</template>
</ma-search>
<div v-if="$slots.middleContent" class="mb-2"><slot name="middleContent"></slot></div>
</div>
<div class="mb-2"><slot name="middleContent"></slot></div>
<div class="_crud-content">
<div class="operation-tools lg:flex justify-between mb-3" ref="crudOperationRef">
<a-space class="lg:flex block lg:inline-block" >
Expand Down

0 comments on commit ad20829

Please sign in to comment.