Commit c5e656e5 by Sixong.Zhu

移除自动拉取,系统会自动处理通知

parent 4c632f48
Showing with 1 additions and 3 deletions
...@@ -571,12 +571,10 @@ export default { ...@@ -571,12 +571,10 @@ export default {
const chat = getters[ const chat = getters[
ChatStore.GETTER_CURRENT_CURRENT_CHAT ChatStore.GETTER_CURRENT_CURRENT_CHAT
] as ChatType; ] as ChatType;
const data = await Chat.getSdk() return await Chat.getSdk()
.model(chat.model_name) .model(chat.model_name)
.chat(chat.obj_id, orgId()) .chat(chat.obj_id, orgId())
.sendMsg(params.msgType, params.msg); .sendMsg(params.msgType, params.msg);
await dispatch(ChatStore.ACTION_GET_FRESH_MESSAGE);
return data;
} catch (error) { } catch (error) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
commit( commit(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment