From a9d1134a1778825ad3a42657037e0907e95581ac Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Thu, 25 May 2023 18:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userCenter/mail/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/userCenter/mail/index.vue b/src/views/userCenter/mail/index.vue index ab611ad..b477ef0 100644 --- a/src/views/userCenter/mail/index.vue +++ b/src/views/userCenter/mail/index.vue @@ -180,10 +180,15 @@ export default { this.reportList() }, handleClose(){ - this.$api.message.oneRead(this.detail.id).then(res=>{ - this.dialogPreview=false + if(this.detail.readType =='0'){ + this.$api.message.oneRead(this.detail.id).then(res=>{ + this.dialogPreview=false this.reportList() - }) + }) + }else{ + this.dialogPreview=false + } + }, // 重置 reset() {