no message

This commit is contained in:
kuaifan 2025-04-07 01:21:50 +08:00
parent c5948c4171
commit dc0f925d24
2 changed files with 5 additions and 1 deletions

View File

@ -2037,3 +2037,6 @@ API请求的URL路径
打印 打印
你可能要发送的照片 你可能要发送的照片
AI开启新会话
AI开启新会话失败

View File

@ -416,8 +416,9 @@ export default {
this.$store.dispatch("updateDialogLastMsg", data.msgs); this.$store.dispatch("updateDialogLastMsg", data.msgs);
$A.messageSuccess(msg); $A.messageSuccess(msg);
resolve(); resolve();
//
if (data.msgs.length > 0) { if (data.msgs.length > 0) {
this.$store.dispatch("openDialog", data.msgs[0].dialog_id); this.$store.dispatch("openDialog", data.msgs[data.msgs.length - 1].dialog_id);
} }
}).catch(({msg}) => { }).catch(({msg}) => {
$A.modalError(msg); $A.modalError(msg);