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
e1bbb0e0
Commit
e1bbb0e0
authored
Mar 13, 2021
by
zhonghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗优化4
parent
65bc6865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
FacePage.js
src/pages/FacePage.js
+3
-8
No files found.
src/pages/FacePage.js
View file @
e1bbb0e0
...
@@ -24,7 +24,6 @@ import {qrHost} from '../utils/config';
...
@@ -24,7 +24,6 @@ import {qrHost} from '../utils/config';
import
Icons
from
'react-native-vector-icons/MaterialIcons'
;
import
Icons
from
'react-native-vector-icons/MaterialIcons'
;
import
AutoClick
from
'../utils/AutoClick'
;
import
AutoClick
from
'../utils/AutoClick'
;
import
validity
from
'../utils/validity'
;
import
validity
from
'../utils/validity'
;
import
{
simpleDebounce
}
from
'../utils/tools'
;
@
connect
(({
admin
})
=>
({
admin
}))
@
connect
(({
admin
})
=>
({
admin
}))
class
FacePage
extends
Component
{
class
FacePage
extends
Component
{
...
@@ -192,13 +191,9 @@ class FacePage extends Component {
...
@@ -192,13 +191,9 @@ class FacePage extends Component {
const
{
data
}
=
await
this
.
props
.
dispatch
({
const
{
data
}
=
await
this
.
props
.
dispatch
({
type
:
'goods/getOrderCounter'
,
type
:
'goods/getOrderCounter'
,
});
});
if
(
data
.
length
!==
0
)
{
this
.
setState
({
simpleDebounce
(()
=>
{
goodsArr
:
data
,
this
.
setState
({
});
goodsArr
:
data
,
});
},
1000
);
}
}
catch
(
error
)
{
}
catch
(
error
)
{
Toast
.
show
(
'当前网络存在异常'
);
Toast
.
show
(
'当前网络存在异常'
);
}
}
...
...
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