From 2bb0e066fdc522beb51dd13f6a72cd67bd5d6a58 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期日, 09 十月 2022 18:06:46 +0800
Subject: [PATCH] 修改bug,店铺管理新增、查询
---
src/components/detail/index.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue
index a229646..f398e1a 100644
--- a/src/components/detail/index.vue
+++ b/src/components/detail/index.vue
@@ -119,9 +119,9 @@
<div class="show-item">
<div class="show-wrap">
<MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo"></MyProcess>
- <MyFilePicture v-else-if="activeIndex === 2" :currentSitVo="currentSitVo" ></MyFilePicture>
+ <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture>
<MySovleProblem v-else-if="activeIndex === 3" :problemProVo="problemProVo"></MySovleProblem>
- <MyScene v-else></MyScene>
+ <MyScene v-else :currentSitVo="currentSitVo"></MyScene>
</div>
</div>
</div>
@@ -133,7 +133,7 @@
import MySovleProblem from '@/components/solveProblem'
import MyScene from '@/components/scene'
export default {
- components: {
+ components: {
MyProcess, MyFilePicture, MySovleProblem, MyScene
},
data() {
@@ -159,22 +159,24 @@
title: '鐜板満鎯呭喌',
index: 4,
},
- ],
+ ],
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.currentSitVo;
- console.log(info);
+ this.problemProVo = info.problemProVo;
+ this.filesPictureVo = info.filesPictureVo;
+ console.log(info);
},
methods: {
changeComponent(index) {
--
Gitblit v1.8.0