diff --git a/src/page/NotificationPage.js b/src/page/NotificationPage.js index 39875e6..3eb1fc6 100644 --- a/src/page/NotificationPage.js +++ b/src/page/NotificationPage.js @@ -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)) } diff --git a/src/page/PhotoPage.js b/src/page/PhotoPage.js index b7b6505..4530ac3 100644 --- a/src/page/PhotoPage.js +++ b/src/page/PhotoPage.js @@ -96,6 +96,7 @@ export default class PhotoPage extends Component { Msg.showMsg('照片已保存', msgOption); } catch (err) { + console.error(err); Msg.showMsg('照片保存失败', msgOption); } }