Commit 6de277d4 authored by 程恺文's avatar 程恺文

feat: 广州登陆页

parent af4c7629
Pipeline #55103 passed with stages
...@@ -19,7 +19,6 @@ import { log } from 'kit_utils'; ...@@ -19,7 +19,6 @@ import { log } from 'kit_utils';
class HuaNongLogin extends Component { class HuaNongLogin extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
console.log('翻新节水主题一');
this.state = { this.state = {
time: '16:00', time: '16:00',
week: '星期一', week: '星期一',
...@@ -46,8 +45,8 @@ class HuaNongLogin extends Component { ...@@ -46,8 +45,8 @@ class HuaNongLogin extends Component {
this.setSubmitting(true); this.setSubmitting(true);
this.props.updateCurrentIndex(-1); this.props.updateCurrentIndex(-1);
console.log('登陆');
//没取到0id 要给定时器 //没取到0id 要给定时器
setInterval(()=>{
appService appService
. getInOnLine({ . getInOnLine({
UserID: globalConfig.userInfo.oid, UserID: globalConfig.userInfo.oid,
...@@ -55,6 +54,8 @@ class HuaNongLogin extends Component { ...@@ -55,6 +54,8 @@ class HuaNongLogin extends Component {
Port: location.port, Port: location.port,
Oid:this._createGuid(), Oid:this._createGuid(),
}) })
},10000)
}; };
onActinoChange = action => { onActinoChange = action => {
action && action &&
...@@ -196,7 +197,6 @@ _createGuid() { ...@@ -196,7 +197,6 @@ _createGuid() {
}) */ }) */
console.log('在线时长服务');
} }
componentWillUnmount() { componentWillUnmount() {
......
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