guhongwei 4 năm trước cách đây
mục cha
commit
fc818a8c67
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/market/index/achieve.vue

+ 2 - 2
src/views/market/index/achieve.vue

@@ -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: {