Commit 289c93e9 by zeven

新增点餐界面

parent 4e6619c6
......@@ -197,13 +197,7 @@ class App extends React.Component {
await this.setState({curRoute});
dispatch({type: 'admin/version'});
dispatch({type: 'goods/getBags'});
} else if (this.device === 'face') {
// 人脸设备
await this.setState({curRoute: 'face'});
} else if (this.device === 'faceSmoke') {
// 人脸烟柜设备
await this.setState({curRoute: 'smoke'});
}
} else await this.setState({curRoute: this.device});
await counterInterval(dispatch, res.data.expiresIn);
this.listen();
} else {
......
import React, {Component} from 'react';
import {View, Text} from 'react-native';
class OrderPage extends Component {
render() {
return (
<View>
<Text>点餐系统</Text>
</View>
);
}
}
export default OrderPage;
......@@ -3,6 +3,7 @@ import VerticalPage from './pages/VerticalPage';
import AuthPage from './pages/AuthPage';
import FacePage from './pages/FacePage';
import SmokePage from './pages/SmokePage';
import OrderPage from './pages/OrderPage';
import ScalesPage from './pages/test/ScalesPage';
import SocketPage from './pages/test/SocketPage';
......@@ -13,5 +14,6 @@ export default {
socket: SocketPage,
auth: AuthPage,
face: FacePage,
smoke: SmokePage,
faceSmoke: SmokePage,
order: OrderPage,
};
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