From 02bc2e768688d16dcf76c384b957564b1fb164cd Mon Sep 17 00:00:00 2001 From: lrw <319150264@qq.com> Date: Thu, 4 May 2023 16:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E5=91=8A=E8=B7=B3=E8=BD=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/index.vue | 6 +++++- src/views/Home/notice/index.vue | 14 ++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/views/Home/index.vue b/src/views/Home/index.vue index 8579a6a..542fe35 100644 --- a/src/views/Home/index.vue +++ b/src/views/Home/index.vue @@ -1,6 +1,6 @@ @@ -27,11 +27,18 @@ import AllianceApply from "./components/AllianceApply.vue" import HospitalsList from "./components/HospitalsList.vue" export default { name: "Notice", + props: { + noticeName: { + type: String, + default: "AllianceApply", + }, + }, components: { AllianceApply, HospitalsList, }, data() { + console.log(this) return { list: [ { @@ -47,7 +54,6 @@ export default { isTop: true, }, ], - currentComponent: "AllianceApply", } }, methods: {}, -- 2.22.0