mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
修复提醒页连续报错问题
This commit is contained in:
parent
205f19592f
commit
0ef9303bbd
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ export default class NotificationList extends Component {
|
|||
let notifications = await this.getMessages();
|
||||
this.notificationsData = notifications;
|
||||
this.setNotifications(notifications);
|
||||
this.setState({error: false});
|
||||
} catch (e) {
|
||||
this.setState({error: true});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue