This commit is contained in:
mx1700 2019-07-28 21:20:06 +08:00
parent 493a55c6d2
commit 78057af2c2
2 changed files with 2 additions and 1 deletions

View file

@ -101,6 +101,7 @@ export default class NotificationPage extends Component {
}
this.tipTimer = setTimeout(() => {
console.log('get tips, time:', Date());
this.refresh();
}, this.loopTime)
}
@ -147,7 +148,6 @@ export default class NotificationPage extends Component {
_onRefresh() {
console.log(this.props.componentId);
this.restartTipTimer().catch((err) => console.log(err))
}

View file

@ -96,6 +96,7 @@ export default class PhotoPage extends Component {
Msg.showMsg('照片已保存', msgOption);
} catch (err) {
console.error(err);
Msg.showMsg('照片保存失败', msgOption);
}
}