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 @@
-
+
-
+