prod
阿丽 3 years ago
parent f588227294
commit ce7dfebfe5

@ -145,10 +145,6 @@ export default {
this.setModel(arr[1]);
this.reload();
},
//
goRouter(path) {
this.$router.push({path: path})
}
},
};
</script>

@ -129,30 +129,6 @@ export default {
this.list = data;
let totalNum = res.totalNum || 0;
this.total = totalNum;
let arr = [];
data.forEach((ele) => {
let a = [
ele.affections,
ele.id,
ele.points,
ele.source,
ele.sourcetime,
ele.srctitle,
ele.title,
ele.url,
ele.user_author,
];
arr.push(a);
});
this.config = {
headerBGC: "#0c203b",
oddRowBGC: "#173b6d",
evenRowBGC: "rgba(69, 149, 244, 0)",
rowNum: 10,
columnWidth: [170,60,160],
header: ["新闻标题", "来源", "作者", "发布时间", "正面", "车型"],
data: arr,
};
});
},
//

Loading…
Cancel
Save