From 78057af2c2dd124384b9f02461692700b788f22f Mon Sep 17 00:00:00 2001 From: mx1700 Date: Sun, 28 Jul 2019 21:20:06 +0800 Subject: [PATCH] debug --- src/page/NotificationPage.js | 2 +- src/page/PhotoPage.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); } }