From f27757d6775a71e96f07a84ede21347426aceaf5 Mon Sep 17 00:00:00 2001 From: x ronger Date: Mon, 3 Aug 2020 21:29:44 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=A2=9E=E5=8A=A0=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/notification/list.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) {