Commit 8689f1b0 by pangchong

feat: 优化

parent 218865ba
......@@ -22,7 +22,7 @@
</a-collapse>
</a-tab-pane>
<a-tab-pane title="群组列表" v-if="showGroup">
<div class="px-4">我是群组列表</div>
<div class="px-4"></div>
</a-tab-pane>
</a-tabs>
</a-spin>
......
......@@ -29,7 +29,9 @@
<template #initiator="{ record }">
<div class="flex items-center">
<global-avatar :size="32" :icon-size="12"></global-avatar>
<span class="ml-2">{{ getInitiatorName(record) }}</span>
<a-tooltip :content="getParticipantsName(record.userList)">
<span class="ml-2 truncate max-w-20">{{ getInitiatorName(record) }}</span>
</a-tooltip>
</div>
</template>
<template #participants="{ record }">
......@@ -124,7 +126,7 @@ const {
},
initialPage: 1, // 初始页码,默认为1
initialPageSize: 10, // 初始每页数据条数,默认为10
debounce: [800],
debounce: 500,
abortLast: true,
total: (res) => parseInt(res.data.total),
data: (res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment