Bläddra i källkod

Merge branch 'master' of http://git.cc-lotus.info/smart-center/web-common

lrf402788946 5 år sedan
förälder
incheckning
580cf4139c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/layout/list/mainRight.vue

+ 2 - 2
src/layout/list/mainRight.vue

@@ -20,7 +20,7 @@
         <el-col :span="24" class="main">
           <el-col :span="24" class="mainRightList" v-for="(item, index) in mainRightList" :key="index"
                   :type="item.type">
-            <el-col :span="20" class="title">
+            <el-col :span="20" class="title" @click.native="$router.push({ name: 'detail', params:{id:item.id} })">
               <el-link :underline="false">{{item.title}}</el-link>
             </el-col>
             <el-col :span="4" class="time">
@@ -30,7 +30,7 @@
           <el-col :span="24" class="page">
             <div class="block">
               <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
-                :current-page="currentPage" layout="total,prev, pager, next, jumper" :total="1">
+                             :current-page="currentPage" layout="total,prev, pager, next, jumper" :total="1">
               </el-pagination>
             </div>
           </el-col>