From 02c8bd51144eb2631276fbfa898727161bc54e8f Mon Sep 17 00:00:00 2001 From: yangduo Date: Mon, 12 Aug 2024 15:47:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/email/create.vue | 8 ++++++-- src/views/email/list.vue | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/email/create.vue b/src/views/email/create.vue index 27bf1fd..128d0db 100644 --- a/src/views/email/create.vue +++ b/src/views/email/create.vue @@ -103,7 +103,9 @@ export default { { validator: (rule, value, cb, source, options) => { const errors = [] - console.log(this.postForm.mailtype) + if (this.mailTypeVisible) { + console.log(this.postForm.mailtype) + } cb() return errors }, @@ -115,7 +117,9 @@ export default { { validator: (rule, value, cb, source, options) => { const errors = [] - console.log(this.postForm.mailtype) + if (this.mailTypeVisible) { + console.log(this.postForm.mailtype) + } cb() return errors } diff --git a/src/views/email/list.vue b/src/views/email/list.vue index 54b862d..937989c 100644 --- a/src/views/email/list.vue +++ b/src/views/email/list.vue @@ -9,12 +9,12 @@ - -