From db639ba99b5856503053cf74efe73b6c5604d9d6 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 17 八月 2023 18:01:42 +0800 Subject: [PATCH] modified: .env.development modified: .env.production modified: .env.staging modified: src/components/Breadcrumb/index.vue modified: src/layout/components/AppMain.vue modified: src/layout/index.vue modified: src/views/laboratory/ledger/index.vue modified: src/views/laboratory/measure/index.vue --- 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 8d3654a..5932228 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