Commit c2a4404c by 前端

对话

1 parent 9cd3c86e
......@@ -96,6 +96,7 @@ Page({
}
const chatList = JSON.stringify(audioBox.data.list);
wx.setStorageSync("chatList", chatList);
wx.setStorageSync("history_message", history_message);
const {
batch_id,
roleType,
......@@ -103,9 +104,17 @@ Page({
sparringTaskId,
entry
} = this.data;
console.log(entry)
// wx.$router.go("/packageEquity/pages/aiCheck/result/result", {
// roleType,
// duration,
// history_message,
// batch_id,
// sparringLink: step,
// sparringTaskId,
// entry
// })
wx.redirectTo({
url: `/packageEquity/pages/aiCheck/result/result?roleType=${roleType}&duration=${duration}&history_message=${history_message}&batch_id=${batch_id}&sparringLink=${step}&sparringTaskId=${sparringTaskId}&entry=${entry}`,
url: `/packageEquity/pages/aiCheck/result/result?roleType=${roleType}&duration=${duration}&batch_id=${batch_id}&sparringLink=${step}&sparringTaskId=${sparringTaskId}&entry=${entry}`,
});
},
toBottom() {
......
......@@ -184,7 +184,6 @@ Page({
*/
async onLoad(options) {
const {
history_message,
duration,
batch_id,
roleType,
......@@ -214,6 +213,7 @@ Page({
id
})
} else {
const history_message = wx.getStorageSync("history_message")
const sensitiveRes = await aiApi.getSensitive({
history_message
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!