Commit 470a0f49 by zhousil
parents 487b29e5 aa71e623
...@@ -85,7 +85,6 @@ ...@@ -85,7 +85,6 @@
<style lang="less" scoped> <style lang="less" scoped>
.voice-message { .voice-message {
height: 40px;
width: 200px; width: 200px;
&.can-play { &.can-play {
......
...@@ -667,7 +667,7 @@ export default { ...@@ -667,7 +667,7 @@ export default {
const { imChatId } = await Chat.getSdk() const { imChatId } = await Chat.getSdk()
.model(params.modelName) .model(params.modelName)
.chat(params.selectedListId, orgId()) .chat(params.selectedListId, orgId())
.createChat(true); .createChat(true, params.title);
const chatId = +imChatId; const chatId = +imChatId;
await commit(ChatStore.MUTATION_SHOW_CHAT, true); await commit(ChatStore.MUTATION_SHOW_CHAT, true);
await dispatch( await dispatch(
......
...@@ -289,6 +289,7 @@ export namespace ChatStore { ...@@ -289,6 +289,7 @@ export namespace ChatStore {
modelName: string; modelName: string;
selectedListId: string; selectedListId: string;
uids: string[]; uids: string[];
title?: string;
}) => Promise<number>; }) => Promise<number>;
export const ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE = export const ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE =
......
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