Skip to content

Commit

Permalink
fix(CellGroup): resolved console warn
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Aug 31, 2023
1 parent 0dfafe9 commit 5e9f09e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/cell/cell-group.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<template>
<div v-if="titleContent" :class="`${name}__title`">
<t-node :content="titleContent" />
</div>
<div :class="contentClass">
<slot />
<div>
<div v-if="titleContent" :class="`${name}__title`">
<t-node :content="titleContent" />
</div>
<div :class="contentClass">
<slot />
</div>
</div>
</template>

Expand Down

0 comments on commit 5e9f09e

Please sign in to comment.