Commit f7fe935e by zeven

update version 1.2.3

parent 383ec8d5
{ {
"name": "zm-face-counter", "name": "zm-face-counter",
"version": "1.2.2", "version": "1.2.3",
"private": true, "private": true,
"scripts": { "scripts": {
"android": "react-native run-android", "android": "react-native run-android",
......
...@@ -179,7 +179,7 @@ class FacePage extends Component { ...@@ -179,7 +179,7 @@ class FacePage extends Component {
}; };
doorOpen = ({action, sense}) => { doorOpen = ({action, sense}) => {
this.action = action; if (action) this.action = action;
if (!this.sense && sense) this.sense = sense; if (!this.sense && sense) this.sense = sense;
if (action === '进店') this.action = 'leave'; if (action === '进店') this.action = 'leave';
else if (action === '出店') this.action = 'enter'; else if (action === '出店') this.action = 'enter';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment