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
62ddb14d
authored
Jan 05, 2022
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u
parent
b948fa15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
components/message.vue
store/index.ts
components/message.vue
View file @
62ddb14d
...
@@ -398,7 +398,10 @@
...
@@ -398,7 +398,10 @@
if
(
this
.
chatMembers
)
{
if
(
this
.
chatMembers
)
{
const
t
=
this
.
chatMembers
.
find
((
i
)
=>
i
.
eid
===
this
.
data
.
eid
);
const
t
=
this
.
chatMembers
.
find
((
i
)
=>
i
.
eid
===
this
.
data
.
eid
);
if
(
t
)
{
if
(
t
)
{
const
name
=
this
.
getFilterUsername
(
t
.
alias_name
,
t
.
name
);
const
name
=
this
.
getFilterUsername
(
t
.
alias_name
as
string
,
t
.
name
);
if
(
name
)
{
if
(
name
)
{
return
name
;
return
name
;
}
}
...
...
store/index.ts
View file @
62ddb14d
...
@@ -957,7 +957,7 @@ export default {
...
@@ -957,7 +957,7 @@ export default {
return
result
;
return
result
;
})
})
);
);
state
[
ChatStore
.
STATE_ALL_HISTORY_CHAT_MEMBERS
]
=
all
;
(
<
any
>
state
)
[
ChatStore
.
STATE_ALL_HISTORY_CHAT_MEMBERS
]
=
all
;
const
newChatMembers
=
all
.
filter
((
it
)
=>
!
it
.
is_exited
);
const
newChatMembers
=
all
.
filter
((
it
)
=>
!
it
.
is_exited
);
const
member
=
newChatMembers
.
find
(
const
member
=
newChatMembers
.
find
(
(
it
)
=>
(
it
)
=>
...
...
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