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
a4703394
authored
Jul 28, 2021
by
刘敏
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:修复从详情打开会话时出错的问题
parent
63aa27fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
store/index.ts
store/index.ts
View file @
a4703394
...
@@ -404,15 +404,11 @@ export default {
...
@@ -404,15 +404,11 @@ export default {
.
chat
(
+
params
.
selectedListId
,
orgId
())
.
chat
(
+
params
.
selectedListId
,
orgId
())
.
createChat
();
.
createChat
();
const
uniplatId
=
id
.
value
;
const
uniplatId
=
id
.
value
;
const
chatId
=
ImChatId
.
value
;
const
chatId
=
Number
(
ImChatId
.
value
)
;
const
v
=
uniplat_version
.
value
;
const
v
=
uniplat_version
.
value
;
await
dispatch
(
ChatStore
.
ACTION_GET_MY_CHAT_LIST
);
await
dispatch
(
ChatStore
.
ACTION_GET_MY_CHAT_LIST
);
commit
(
ChatStore
.
MUTATION_SHOW_CHAT
);
commit
(
ChatStore
.
MUTATION_SHOW_CHAT
);
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
{
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
chatId
);
chatId
,
v
,
uniplatId
});
},
},
// async [ChatStore.ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE](
// async [ChatStore.ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE](
// { commit, dispatch },
// { commit, dispatch },
...
@@ -568,11 +564,7 @@ export default {
...
@@ -568,11 +564,7 @@ export default {
firstChat
.
business_data
.
model_name
,
firstChat
.
business_data
.
model_name
,
firstChat
.
business_data
.
obj_id
firstChat
.
business_data
.
obj_id
);
);
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
{
await
dispatch
(
ChatStore
.
ACTION_SAVE_CURRENT_CHAT_ID_VERSION
,
firstChat
.
chat_id
);
chatId
:
firstChat
.
chat_id
,
v
:
chatInfo
.
uniplat_version
,
uniplatId
:
chatInfo
.
uniplatId
,
});
},
},
async
[
ChatStore
.
ACTION_CHAT_ADD_MEMBERS
](
async
[
ChatStore
.
ACTION_CHAT_ADD_MEMBERS
](
{
getters
,
dispatch
},
{
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