Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 73b8fad3
authored
Jul 05, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
授权
1 parent
a0c83f30
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
packageEquity/pages/aiCheck/chat/chat.js
packageEquity/pages/aiCheck/chat/chat.wxml
packageEquity/pages/aiCheck/chat/chat.js
View file @
73b8fad
...
@@ -382,18 +382,18 @@ Page({
...
@@ -382,18 +382,18 @@ Page({
wx
.
$util
.
showToast
(
"AI还未回复"
);
wx
.
$util
.
showToast
(
"AI还未回复"
);
return
;
return
;
}
}
//
const audioBox = this.selectComponent("#audioBox");
const
audioBox
=
this
.
selectComponent
(
"#audioBox"
);
//
const list = audioBox.data.list;
const
list
=
audioBox
.
data
.
list
;
//
let isCan = true
let
isCan
=
true
//
list.forEach((i) => {
list
.
forEach
((
i
)
=>
{
//
if(i.role == 2 && !i.suggestions_for_improvement) {
if
(
i
.
role
==
2
&&
!
i
.
suggestions_for_improvement
)
{
//
isCan = false;
isCan
=
false
;
//
}
}
//
});
});
//
if (!isCan) {
if
(
!
isCan
)
{
//
wx.$util.showToast("回答分析生产中...");
wx
.
$util
.
showToast
(
"回答分析生产中..."
);
//
return;
return
;
//
}
}
const
{
speakLoading
}
=
this
.
data
;
const
{
speakLoading
}
=
this
.
data
;
if
(
speakLoading
)
return
;
if
(
speakLoading
)
return
;
this
.
setData
({
this
.
setData
({
...
...
packageEquity/pages/aiCheck/chat/chat.wxml
View file @
73b8fad
<!--packageEquity/pages/aiCheck/chat/chat.wxml-->
<!--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}}">
<navigation-bar class="chat-bar" showBack="{{false}}" navStyle="{{navStyle}}">
<view class="navigation-title">
<view class="navigation-title">
<view class="navigation-title-text text-hide">驻店延保</view>
<view class="navigation-title-text text-hide">驻店延保</view>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment