Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄天晨
bh_face_counter
Commits
a03c010a
Commit
a03c010a
authored
Sep 04, 2024
by
PigeonMuyz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗提示
parent
c33d8a75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
CounterMixins.js
src/pages/CounterMixins.js
+7
-1
No files found.
src/pages/CounterMixins.js
View file @
a03c010a
...
@@ -862,7 +862,13 @@ const CounterMixins = ComposeComponent => {
...
@@ -862,7 +862,13 @@ const CounterMixins = ComposeComponent => {
}
}
if
(
data
.
data
.
category
&&
data
.
data
.
category
.
search
(
'烟'
)
!==
-
1
)
{
if
(
data
.
data
.
category
&&
data
.
data
.
category
.
search
(
'烟'
)
!==
-
1
)
{
if
(
this
.
state
.
banSmoke
)
{
if
(
this
.
state
.
banSmoke
)
{
Speech
.
speak
(
'云值守模式下不允许售卖香烟,请把香烟放回原位'
);
const
msg
=
'云值守模式下不允许售卖香烟,请把香烟放回原位'
;
this
.
setState
({
voiceModal
:
true
,
voiceTitle
:
msg
});
Speech
.
speak
(
msg
);
clearTimeout
(
this
.
noAuthTimeout
);
this
.
noAuthTimeout
=
setTimeout
(()
=>
{
this
.
setState
({
voiceModal
:
false
});
},
3000
);
return
;
return
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment