|
@@ -6,7 +6,7 @@
|
|
|
<top :topInfo="topInfo" @moreBtn="moreBtn"></top>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="down">
|
|
|
- <el-col :span="8" class="list" v-for="(item, index) in list" :key="index" @click.native="toDetail(item.id)">
|
|
|
+ <el-col :span="8" class="list" v-for="(item, index) in list" :key="index" @click.native="toDetail(item._id)">
|
|
|
<el-col :span="24" class="text">
|
|
|
<p class="name textOver">{{ item.name }}</p>
|
|
|
<p class="brief">{{ item.achievebrief }}</p>
|
|
@@ -48,7 +48,7 @@ export default {
|
|
|
this.$router.push({ path: '/market/list', query: { index: 0 } });
|
|
|
},
|
|
|
toDetail(id) {
|
|
|
- this.$router.push({ path: '/market/list', query: { index: 0, id: id || 'testid' } });
|
|
|
+ this.$router.push({ path: '/market/list', query: { index: 0, id: id } });
|
|
|
},
|
|
|
},
|
|
|
computed: {
|