Compare commits

...

3 Commits

Author SHA1 Message Date
chantouRichard edde0bf3ed Merge remote-tracking branch 'origin/hot-fix' into hot-fix
3 months ago
chantouRichard 0379bf5114 前端修改
3 months ago
chantouRichard df8586446e 小更新
3 months ago

@ -168,7 +168,7 @@
<view class="textarea-wrapper">
<textarea
class="textarea-box"
v-model="question"
v-model="content"
placeholder="输入你的辩论观点与AI进行思辨交锋"
placeholder-style="color: #ffffff; font-size: 28rpx;"
auto-height
@ -662,6 +662,8 @@ export default {
return;
}
//--------
console.log("辩论轮数:", this.content);
if (!this.content.trim()) return;
@ -757,7 +759,11 @@ export default {
useDebateStore().setConversationId(this.conversationId);
}
resolve(responseData.debate);
// review
const cleanedDebate =
responseData.debate?.replace(/`/g, "") || "";
resolve(cleanedDebate);
} else {
reject("请求失败:" + (res.data.message || "未知错误"));
}

Loading…
Cancel
Save