Skip to content

Commit 06a0ac9

Browse files
author
weilei
committed
fix: 修改 Conversations 组件中插槽名称
1 parent 487af03 commit 06a0ac9

File tree

1 file changed

+4
-3
lines changed
  • packages/element-ui-x/src/components/Conversations/src

1 file changed

+4
-3
lines changed

packages/element-ui-x/src/components/Conversations/src/main.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@
3232
:class="{ 'active-sticky': stickyGroupKeys.has(group.key) }"
3333
>
3434
<slot
35-
name="groupTitle"
35+
name="group-title"
3636
:group="group"
37-
>{{ group.title }}</slot
3837
>
38+
{{ group.title }}
39+
</slot>
3940
</div>
4041
<div class="el-x-conversation-group-items">
4142
<conversations-item
@@ -194,8 +195,8 @@
194195
</template>
195196

196197
<script>
197-
import ConversationsItem from './components/item.vue';
198198
import { get } from 'lodash';
199+
import ConversationsItem from './components/item.vue';
199200
200201
export default {
201202
name: 'ElXConversations',

0 commit comments

Comments
 (0)