更新组件声明,新增NTag支持;调整ContactModal.vue中的头像模块,优化联系人选择逻辑,改善会话记录显示;注释掉vite.config.ts中的vueDevTools配置。
This commit is contained in:
parent
23415808bb
commit
846031a5cb
1
components.d.ts
vendored
1
components.d.ts
vendored
@ -62,6 +62,7 @@ declare module 'vue' {
|
||||
NotificationApi: typeof import('./src/components/common/NotificationApi.vue')['default']
|
||||
NRadio: typeof import('naive-ui')['NRadio']
|
||||
NSpin: typeof import('naive-ui')['NSpin']
|
||||
NTag: typeof import('naive-ui')['NTag']
|
||||
NVirtualList: typeof import('naive-ui')['NVirtualList']
|
||||
RevokeMessage: typeof import('./src/components/talk/message/RevokeMessage.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
|
@ -185,7 +185,7 @@ if(newVal){
|
||||
</div>
|
||||
<div class="mr-10px">
|
||||
|
||||
<avatarModule class="mr-10px" :mode="item.talk_type"
|
||||
<avatarModule class="mr-10px" showGroupType :mode="item.talk_type"
|
||||
:avatar="item.avatar"
|
||||
:groupType="item.group_type"
|
||||
:customStyle="{width:'42px',height:'42px'}"></avatarModule>
|
||||
@ -213,7 +213,10 @@ if(newVal){
|
||||
<template #default="{ item }">
|
||||
<div class="flex items-center border-b-2px border-b-solid h-65px border-b-#FBFBFB pr-20px">
|
||||
<div class="mr-10px">
|
||||
<n-image class="w-42px h-42px rounded-full" :src="item.avatar" />
|
||||
<avatarModule class="mr-10px" showGroupType :mode="item.talk_type"
|
||||
:avatar="item.avatar"
|
||||
:groupType="item.group_type"
|
||||
:customStyle="{width:'42px',height:'42px'}"></avatarModule>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<span class="text-ellipsis">{{ item.name }}</span>
|
||||
@ -238,8 +241,12 @@ if(newVal){
|
||||
<div class="text-14px text-#999999 mb-23px">
|
||||
<span>[{{ forwardMode === 2 ? '合并转发' : '逐条转发' }}]</span>
|
||||
<span v-if="checkedFilter.length > 0">
|
||||
{{ checkedFilter.map(item => item.name).join('、') }}的会话记录
|
||||
</span>
|
||||
{{
|
||||
checkedFilter.length > 2
|
||||
? checkedFilter.slice(0, 2).map(item => item.name).join('、') + ' 等'
|
||||
: checkedFilter.map(item => item.name).join('、')
|
||||
}}会话记录
|
||||
</span>
|
||||
<span v-else>请选择联系人</span>
|
||||
</div>
|
||||
<div class="flex justify-center items-center">
|
||||
|
@ -46,9 +46,9 @@ export default defineConfig(({ mode }) => {
|
||||
vueJsx({}),
|
||||
compressPlugin(),
|
||||
UnoCSS(),
|
||||
vueDevTools({
|
||||
launchEditor: 'cursor',
|
||||
})
|
||||
// vueDevTools({
|
||||
// launchEditor: 'cursor',
|
||||
// })
|
||||
],
|
||||
define: {
|
||||
__APP_ENV__: env.APP_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user