删除调试信息

This commit is contained in:
mx1700 2019-07-15 23:18:21 +08:00
parent def159cd91
commit 0e23c1b746
2 changed files with 2 additions and 3 deletions

View file

@ -36,7 +36,6 @@ export default class Notification extends Component {
} }
renderComment(msg) { renderComment(msg) {
console.log(msg);
const users = unique(msg.list.map(it => it.content.author.name)).join('、'); const users = unique(msg.list.map(it => it.content.author.name)).join('、');
const body = `${users} 回复了你`; const body = `${users} 回复了你`;
@ -64,7 +63,6 @@ export default class Notification extends Component {
} }
renderLike(msg) { renderLike(msg) {
console.log(msg);
const body = `${msg.content.user.name} 给了你一个创可贴`; const body = `${msg.content.user.name} 给了你一个创可贴`;
return ( return (

View file

@ -136,8 +136,9 @@ export default class NotificationPage extends Component {
//const push = settings['pushMessage']; //const push = settings['pushMessage'];
const push = true; const push = true;
const alias = push ? user.id.toString() : user.id.toString() + '_close'; const alias = push ? user.id.toString() : user.id.toString() + '_close';
console.log("Push.setAccount...");
Push.setAccount(alias, success => { Push.setAccount(alias, success => {
console.log('JPushModule.setAlias ' + alias + ' ' + success); console.log('Push.setAccount ' + alias + ' ', success);
}); });
// Crashlytics.setUserName(user.name); // Crashlytics.setUserName(user.name);