From 0fce027591ce3778a362e72d4fa2daa16502eab6 Mon Sep 17 00:00:00 2001 From: nil Date: Fri, 13 Jun 2025 10:30:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8F=91=E4=BB=B6=E7=AE=B1=E5=90=8E=E8=BF=98=E8=83=BD=E7=9C=8B?= =?UTF-8?q?=E5=88=B0=E7=9A=84bug=EF=BC=9B=E4=BF=AE=E5=A4=8D=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E9=A1=B5=E9=9D=A2=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E4=BE=9D=E8=B5=96=E9=97=AE=E9=A2=98=20(#286)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/package.json | 1 + server/services/list/list.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/fe/package.json b/fe/package.json index 4d17d47..565624a 100644 --- a/fe/package.json +++ b/fe/package.json @@ -9,6 +9,7 @@ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" }, "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.12", "axios": "^1.4.0", diff --git a/server/services/list/list.go b/server/services/list/list.go index e039a79..60c540a 100644 --- a/server/services/list/list.go +++ b/server/services/list/list.go @@ -53,6 +53,9 @@ func genSQL(ctx *context.Context, count bool, tagInfo dto.SearchTag, keyword str } else if tagInfo.Status == -1 { if tagInfo.Type != 1 { sql += " and ue.status = 0" + } else { + // 发件箱不展示已删除的邮件 + sql += " and ue.status != 3" } }