Commit 73b8fad3 by 前端

授权

1 parent a0c83f30
......@@ -382,18 +382,18 @@ Page({
wx.$util.showToast("AI还未回复");
return;
}
// const audioBox = this.selectComponent("#audioBox");
// const list = audioBox.data.list;
// let isCan = true
// list.forEach((i) => {
// if(i.role == 2 && !i.suggestions_for_improvement) {
// isCan = false;
// }
// });
// if (!isCan) {
// wx.$util.showToast("回答分析生产中...");
// return;
// }
const audioBox = this.selectComponent("#audioBox");
const list = audioBox.data.list;
let isCan = true
list.forEach((i) => {
if(i.role == 2 && !i.suggestions_for_improvement) {
isCan = false;
}
});
if (!isCan) {
wx.$util.showToast("回答分析生产中...");
return;
}
const { speakLoading } = this.data;
if (speakLoading) return;
this.setData({
......
<!--packageEquity/pages/aiCheck/chat/chat.wxml-->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<navigation-bar class="chat-bar" showBack="{{false}}" navStyle="{{navStyle}}">
<view class="navigation-title">
<view class="navigation-title-text text-hide">驻店延保</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!