mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 18:09:31 +08:00
删除调试信息
This commit is contained in:
parent
def159cd91
commit
0e23c1b746
2 changed files with 2 additions and 3 deletions
|
@ -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 (
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue