优化代码
This commit is contained in:
@@ -397,7 +397,6 @@ const chatList = ref({
|
||||
//监听会话消息
|
||||
function onConversationsUpdated(conversations) {
|
||||
chatList.value = conversations;
|
||||
console.log(chatList.value);
|
||||
}
|
||||
//获取会话列表
|
||||
function getChatList() {
|
||||
@@ -539,7 +538,6 @@ const handleAvatarSuccess = (
|
||||
uploadFile
|
||||
) => {
|
||||
avatar.value = URL.createObjectURL(uploadFile.raw)
|
||||
console.log(info.value);
|
||||
editUserInfo({
|
||||
id: info.value.id,
|
||||
headerIcon: response.data.filename,
|
||||
@@ -759,7 +757,6 @@ onMounted(() => {
|
||||
});
|
||||
getPromiseStorage('user').then(res => {
|
||||
info.value = res;
|
||||
console.log(res);
|
||||
avatar.value = info.value.headerIcon;
|
||||
getAnchorLibrary()
|
||||
UserInfo();
|
||||
@@ -821,6 +818,10 @@ onUnmounted(() => {
|
||||
.Avatar-content{
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.Avatar-content-name{
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user