From 5b2dd794ec680d47e907ff43a264a7f82c30a130 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 18 十月 2022 16:23:55 +0800 Subject: [PATCH] 部门编辑优化 --- src/components/illdetail/index.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/illdetail/index.vue b/src/components/illdetail/index.vue index 12af55c..b2ae36c 100644 --- a/src/components/illdetail/index.vue +++ b/src/components/illdetail/index.vue @@ -79,8 +79,8 @@ <div class="show-wrap"> <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess> <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture> - <MySovleProblem v-else-if="activeIndex === 3" :problemProVo="problemProVo"></MySovleProblem> - <MyScene v-else :currentSitVo="currentSitVo"></MyScene> + <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :handlePassVo="handlePassVo"></MySovleProblem> + <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene> </div> </div> </div> @@ -122,20 +122,18 @@ baseCase:{}, handlePassVo:{}, currentSitVo:{}, - problemProVo:{}, filesPictureVo:{} } - }, + }, created() { console.log('created'); const {info} = this; this.baseCase = info.baseCase; this.handlePassVo = info.handlePassVo; this.currentSitVo = info.currentSitVo; - this.problemProVo = info.problemProVo; this.filesPictureVo = info.filesPictureVo; - console.log(info); + console.log(info); }, methods: { changeComponent(index) { -- Gitblit v1.8.0