From 0c27b388038adb3ca60be434dae857e62f1f7a0e Mon Sep 17 00:00:00 2001
From: whychdw <49690745@qq.com>
Date: 星期四, 20 八月 2020 17:00:11 +0800
Subject: [PATCH] 内容提交

---
 src/components/ContentBox.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/components/ContentBox.vue b/src/components/ContentBox.vue
index 02d0643..3daf85d 100644
--- a/src/components/ContentBox.vue
+++ b/src/components/ContentBox.vue
@@ -51,8 +51,12 @@
     },
     methods: {
         toggleChange() {
-            console.log(this.hide);
             this.hide = this.hide?false:true;
+            this.$nextTick(()=>{
+                setTimeout(()=>{
+                    this.$emit('toggleChange', this.hide);
+                }, 600);
+            });
         }
     },
     computed: {

--
Gitblit v1.9.1