mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
debug
This commit is contained in:
parent
493a55c6d2
commit
78057af2c2
2 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ export default class PhotoPage extends Component {
|
|||
Msg.showMsg('照片已保存', msgOption);
|
||||
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
Msg.showMsg('照片保存失败', msgOption);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue