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
e6c3a477
Commit
e6c3a477
authored
Aug 12, 2023
by
黄日华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码付款orderId赋值
parent
ef1350d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CounterMixins.js
src/pages/CounterMixins.js
+3
-0
No files found.
src/pages/CounterMixins.js
View file @
e6c3a477
...
...
@@ -379,6 +379,7 @@ const CounterMixins = ComposeComponent => {
Speech
.
speak
(
msg
);
}
else
if
(
type
===
'paid'
)
{
if
(
orderId
)
{
this
.
orderId
=
orderId
;
let
count
=
0
;
this
.
props
.
dispatch
({
// 扫码付款步骤
...
...
@@ -1156,6 +1157,8 @@ const CounterMixins = ComposeComponent => {
});
if
(
data
.
code
===
1
)
{
Speech
.
speak
(
data
.
msg
||
'门已经打开,谢谢惠顾'
);
}
else
if
(
data
.
code
===
-
2
)
{
Speech
.
speak
(
data
.
msg
||
'开门失败,请联系客服处理'
);
}
else
{
setTimeout
(
async
()
=>
{
const
{
data
:
dataNext
}
=
await
this
.
props
.
dispatch
({
...
...
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