From 01e99e00dfe0f2c5cc756ff5a6472b737c82a7e0 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期一, 28 十一月 2022 14:09:23 +0800 Subject: [PATCH] fix: 消息栏目为show --- src/components/detail/index.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue index 2aa3144..46df99b 100644 --- a/src/components/detail/index.vue +++ b/src/components/detail/index.vue @@ -5,7 +5,7 @@ <div class="data-item__left"> <label class="data-title"> 闂绫诲瀷: - </label> + </label> <span class="data-detail">杩濊</span> </div> <div class="data-item__right"> @@ -125,7 +125,7 @@ <div class="show-item"> <div class="show-wrap"> <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess> - <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture> + <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" :mycode='mycode'></MyFilePicture> <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :handlePassVo="handlePassVo"></MySovleProblem> <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene> </div> @@ -169,18 +169,15 @@ baseCase:{}, handlePassVo:{}, currentSitVo:{}, - // problemProVo:{}, filesPictureVo:{} } }, created() { - console.log('created'); - const {info} = this; + 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); }, @@ -189,7 +186,7 @@ this.activeIndex = index; }, }, - props: ['info'] + props: ['info','mycode'] } </script> <style lang="scss" scoped> -- Gitblit v1.8.0