From 4af9a5d043aa4e29f43b8f8e2a21e41d6827ab6f Mon Sep 17 00:00:00 2001
From: yuyu <1981343953@qq.com>
Date: 星期五, 18 八月 2023 16:17:26 +0800
Subject: [PATCH] 8.18 合格率统计

---
 src/layout/components/AppMain.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index b5caf55..e9e0b9f 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -1,7 +1,7 @@
 <template>
   <section class="app-main">
     <transition name="fade-transform" mode="out-in">
-      <router-view :key="key" />
+      <router-view ref="child" @triggerMainBtnPlan="triggerMainBtnPlan" :key="key" />
     </transition>
   </section>
 </template>
@@ -13,6 +13,14 @@
     key() {
       return this.$route.path
     }
+  },
+  methods: {
+    childMethod(){
+      this.$refs.child.combackLookPlan()    
+    },
+    triggerMainBtnPlan(){
+      this.$parent.triggerCombackBtn()
+    }
   }
 }
 </script>

--
Gitblit v1.9.3