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
57a7eeb2
Commit
57a7eeb2
authored
Jan 05, 2024
by
黄日华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加收银程序刷脸启动失败自动修复功能
parent
98f9491d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
VerticalPage.js
src/pages/VerticalPage.js
+5
-1
No files found.
src/pages/VerticalPage.js
View file @
57a7eeb2
...
@@ -32,6 +32,9 @@ import Smilepay from '../utils/Smilepay';
...
@@ -32,6 +32,9 @@ import Smilepay from '../utils/Smilepay';
import
{
leaveTalkCall
,
onTalkCall
}
from
'../utils/agora'
;
import
{
leaveTalkCall
,
onTalkCall
}
from
'../utils/agora'
;
import
Toast
from
'../components/Toast'
;
import
Toast
from
'../components/Toast'
;
import
{
ossLink
}
from
'../utils/config'
;
import
{
ossLink
}
from
'../utils/config'
;
import
Restart
from
'../utils/Restart'
;
window
.
restart
=
Restart
.
restartApp
;
let
pageSize
=
8
;
// 分页大小
let
pageSize
=
8
;
// 分页大小
window
.
pageSize
=
pageSize
;
window
.
pageSize
=
pageSize
;
...
@@ -296,7 +299,8 @@ class VerticalPage extends Component {
...
@@ -296,7 +299,8 @@ class VerticalPage extends Component {
if
(
!
params
)
{
if
(
!
params
)
{
if
(
this
.
faceRetry
)
{
if
(
this
.
faceRetry
)
{
this
.
faceRetry
=
false
;
this
.
faceRetry
=
false
;
this
.
props
.
speak
(
'刷脸支付启动失败,请重新刷脸或扫码支付'
,
true
);
this
.
props
.
speak
(
'刷脸支付启动失败,正在重新启动应用修复'
,
true
);
Restart
.
restartApp
();
}
else
{
}
else
{
this
.
faceRetry
=
true
;
this
.
faceRetry
=
true
;
this
.
wxFacepay
();
// 重试一次
this
.
wxFacepay
();
// 重试一次
...
...
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