From 2ea56ed08b58386f0612635101b1acd51cd4a44c Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 29 Apr 2020 18:06:45 +0800 Subject: [PATCH] 浏览日志,操作日志;用户中心(个人信息);用户管理(用户中心) --- src/components/common/HotListTableView/index.jsx | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/common/HotListTableView/index.jsx b/src/components/common/HotListTableView/index.jsx index e0157dc..92ea24a 100644 --- a/src/components/common/HotListTableView/index.jsx +++ b/src/components/common/HotListTableView/index.jsx @@ -45,7 +45,6 @@ fetch({ url: `api/news/keywordlist` }).then(res => { - console.log('res', res); this.setState({ loading: false }) @@ -58,7 +57,6 @@ } setFormData = data => { - console.log('form', data); this.setState({ formData: data, }); @@ -71,13 +69,12 @@ dataIndex: 'title', key: 'title', render: (cur, item) => { - return <a dangerouslySetInnerHTML={{ __html: cur }} onClick={() => { - window.open(item.url) - }}> + return <a dangerouslySetInnerHTML={{ __html: cur }} target="_blank" href={item.url} > </a> } }, { + // title: '爬虫时间', title: '发布时间', key: 'create_time', dataIndex: 'create_time', @@ -92,8 +89,8 @@ }, { title: '来源', - dataIndex: 'keyword', - key: 'keyword', + dataIndex: 'author', + key: 'author', }, ]; } -- Gitblit v1.8.0