Commit dfa579d4 authored by 黄媛媛's avatar 黄媛媛
parents e31bc8d7 3466496a
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column prop="name" label="名称"> <el-table-column prop="Title" label="名称">
<template slot-scope="scope">{{ scope.row.TopicName }}</template> <template slot-scope="scope">{{ scope.row.Title }}</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination background @current-change="handleCurrentChange" :page-size="msgFenlei.pageSize" <el-pagination background @current-change="handleCurrentChange" :page-size="msgFenlei.pageSize"
......
...@@ -394,14 +394,14 @@ ...@@ -394,14 +394,14 @@
let topic_list = []; let topic_list = [];
ckedArr.forEach(x=>{ ckedArr.forEach(x=>{
topic_list.push({ topic_list.push({
title: x.TopicName, title: x.Title,
cover_pic: x.CoverImg, cover_pic: x.CoverImg,
read_count: x.ReadNum, read_count: x.ReadNum,
// layout: list[i].layout, // layout: list[i].layout,
id: x.Id id: x.Id
}); });
}) })
topic_list = JSON.parse(JSON.stringify(topic_list)); topic_list = JSON.parse(JSON.stringify(topic_list));
if(this.isTopicCheck==2){ if(this.isTopicCheck==2){
if (this.data.list && this.data.list.length > 0) { if (this.data.list && this.data.list.length > 0) {
this.data.list[this.cat_index].children = this.data.list[this.cat_index].children.concat(topic_list); this.data.list[this.cat_index].children = this.data.list[this.cat_index].children.concat(topic_list);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment