diff --git a/src/component/notification/notification.js b/src/component/notification/notification.js index 2f2bd15..3fcf748 100644 --- a/src/component/notification/notification.js +++ b/src/component/notification/notification.js @@ -36,7 +36,6 @@ export default class Notification extends Component { } renderComment(msg) { - console.log(msg); const users = unique(msg.list.map(it => it.content.author.name)).join('、'); const body = `${users} 回复了你`; @@ -64,7 +63,6 @@ export default class Notification extends Component { } renderLike(msg) { - console.log(msg); const body = `${msg.content.user.name} 给了你一个创可贴`; return ( diff --git a/src/page/NotificationPage.js b/src/page/NotificationPage.js index 29f037f..9d332f1 100644 --- a/src/page/NotificationPage.js +++ b/src/page/NotificationPage.js @@ -136,8 +136,9 @@ export default class NotificationPage extends Component { //const push = settings['pushMessage']; const push = true; const alias = push ? user.id.toString() : user.id.toString() + '_close'; + console.log("Push.setAccount..."); Push.setAccount(alias, success => { - console.log('JPushModule.setAlias ' + alias + ' ' + success); + console.log('Push.setAccount ' + alias + ' ', success); }); // Crashlytics.setUserName(user.name);