guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
1742af11bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/layout/index/danwei.vue

+ 1 - 1
src/layout/index/danwei.vue

@@ -7,7 +7,7 @@
             <span slot="label">{{ item.title }}</span>
             <span slot="label">{{ item.title }}</span>
             <el-col :span="24" v-for="(tag, index) in item.children" :key="index" class="shiyeList">
             <el-col :span="24" v-for="(tag, index) in item.children" :key="index" class="shiyeList">
               <el-col :span="20" class="title textOver">
               <el-col :span="20" class="title textOver">
-                <el-link :underline="false" @click="$router.push({ path: `/info/detail?id=${tag.id}` })" :title="tag.title">{{ tag.title }}</el-link>
+                <el-link :underline="false" @click="$turnTo(tag)" :title="tag.title">{{ tag.title }}</el-link>
               </el-col>
               </el-col>
               <el-col :span="4" class="time">
               <el-col :span="4" class="time">
                 {{ tag.publish_time }}
                 {{ tag.publish_time }}