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
3bb0d1c4
authored
Aug 05, 2021
by
吴云建
Browse files
Options
_('Browse Files')
Download
Plain Diff
fix
parents
26988b8c
76c7b004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
store/index.ts
store/index.ts
View file @
3bb0d1c4
...
...
@@ -440,7 +440,7 @@ export default {
.
chat
(
+
params
.
selectedListId
,
orgId
())
.
createChat
(
true
);
const
chatId
=
Number
(
imChatId
);
commit
(
ChatStore
.
MUTATION_SHOW_CHAT
,
true
);
await
commit
(
ChatStore
.
MUTATION_SHOW_CHAT
,
true
);
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
chatId
);
},
async
[
ChatStore
.
ACTION_REGISTER_EVENT
]({
dispatch
,
commit
,
state
})
{
...
...
@@ -625,7 +625,7 @@ export default {
);
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
firstChat
.
chat_id
);
},
async
[
ChatStore
.
ACTION_CHAT_START_RECEPTION
](
{
getters
,
dispatch
}
)
{
...
...
@@ -640,7 +640,7 @@ export default {
.
startChat
();
await
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
500
));
await
dispatch
(
ChatStore
.
ACTION_GET_CHAT_MEMBERS
);
},
},
async
[
ChatStore
.
ACTION_CHAT_FINISH_RECEPTION
](
{
getters
,
dispatch
}
)
{
...
...
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