@aochuang/client-sdk 1.0.290 → 1.0.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="sdk-chat-panel-box__main">
|
|
9
|
-
<div class="sdk-chat-panel-box__head"
|
|
9
|
+
<div class="sdk-chat-panel-box__head" :class="{'has-user-name': !!showUserName}">
|
|
10
10
|
<template v-if="showUserName">
|
|
11
11
|
<span class="sdk-chat-panel-box__name">
|
|
12
12
|
{{ userData ? userData.name : '' }}
|
|
@@ -296,6 +296,9 @@ export default {
|
|
|
296
296
|
line-height: 24px;
|
|
297
297
|
min-height: 24px;
|
|
298
298
|
}
|
|
299
|
+
.sdk-chat-panel-box__head:not(.has-user-name) {
|
|
300
|
+
min-height: 6px;
|
|
301
|
+
}
|
|
299
302
|
.sdk-chat-panel-box__name{
|
|
300
303
|
font-size: 12px;
|
|
301
304
|
color: #888;
|
package/package.json
CHANGED
|
@@ -861,7 +861,7 @@ export default class ClientChatContacts {
|
|
|
861
861
|
// 一般用在切换群的时候,把前一次的群缓存的数据清理一下,避免占用内存
|
|
862
862
|
clearRoomMemberData (roomId) {
|
|
863
863
|
this.setRoomMemberData(roomId, null)
|
|
864
|
-
if (this.loadRoomMemberDataPromiseMap[roomId]) {
|
|
864
|
+
if (this.loadRoomMemberDataPromiseMap && this.loadRoomMemberDataPromiseMap[roomId]) {
|
|
865
865
|
delete this.loadRoomMemberDataPromiseMap[roomId]
|
|
866
866
|
}
|
|
867
867
|
}
|