Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
92ac192a
authored
Dec 27, 2021
by
zhousil
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into pre
parents
cd6737c1
e1a7be9b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
components/controller/chat-list.ts
utils/user-info.ts
components/controller/chat-list.ts
View file @
92ac192a
...
@@ -64,9 +64,6 @@ export default class ChatList extends Vue {
...
@@ -64,9 +64,6 @@ export default class ChatList extends Vue {
@
chatStore
.
Getter
(
ChatStore
.
GETTER_CURRENT_CURRENT_CHAT
)
@
chatStore
.
Getter
(
ChatStore
.
GETTER_CURRENT_CURRENT_CHAT
)
protected
readonly
currentChat
!
:
ChatStore
.
GETTER_CURRENT_CURRENT_CHAT
;
protected
readonly
currentChat
!
:
ChatStore
.
GETTER_CURRENT_CURRENT_CHAT
;
@
chatStore
.
Action
(
ChatStore
.
ACTION_CHAT_FINISH_RECEPTION
)
protected
readonly
_finishReception
!
:
ChatStore
.
ACTION_CHAT_FINISH_RECEPTION
;
protected
parseMesage
(
data
:
ChatItem
)
{
protected
parseMesage
(
data
:
ChatItem
)
{
if
(
data
.
last_msg_sender
&&
data
.
last_msg_sender
!==
"0"
)
{
if
(
data
.
last_msg_sender
&&
data
.
last_msg_sender
!==
"0"
)
{
if
(
this
.
userNames
[
data
.
last_msg_sender
]
===
undefined
)
{
if
(
this
.
userNames
[
data
.
last_msg_sender
]
===
undefined
)
{
...
...
utils/user-info.ts
View file @
92ac192a
...
@@ -41,7 +41,7 @@ export class ChatUserInfoService {
...
@@ -41,7 +41,7 @@ export class ChatUserInfoService {
)
)
.
request
<
any
,
any
,
UserInfo
>
(
"get"
);
.
request
<
any
,
any
,
UserInfo
>
(
"get"
);
const
data
=
{
const
data
=
{
name
:
info
.
username
||
info
.
real
name
||
info
.
mobile
||
info
.
mobile
,
name
:
info
.
realname
||
info
.
user
name
||
info
.
mobile
||
info
.
mobile
,
phone
:
info
.
mobile
,
phone
:
info
.
mobile
,
icon
:
info
.
avatar_url
,
icon
:
info
.
avatar_url
,
alias_name
:
info
.
alias_name
,
alias_name
:
info
.
alias_name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment