diff --git a/components/common/notification/list.vue b/components/common/notification/list.vue index c97a07a..d6278a8 100644 --- a/components/common/notification/list.vue +++ b/components/common/notification/list.vue @@ -26,13 +26,13 @@ - + {{ notification.createdTime }} - + - + 标记已读 @@ -68,9 +68,9 @@ }, read(id) { let _ts = this; - this.$axios.$put('/api/notification/read/' + id).then(function () { + this.$axios.$put('/api/notification/read/' + id).then(function (res) { _ts.currentChange(1); - }); + }).catch(error => console.log(error)); }, onRouter(notification) { if ('0' === notification.dataType) {