From 1386b9fff21abc8f611c2a6c199581ea67efe315 Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Sun, 26 Apr 2020 16:40:55 +0800
Subject: [PATCH] 修复bug

---
 src/components/common/HotListTableView/index.jsx |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/components/common/HotListTableView/index.jsx b/src/components/common/HotListTableView/index.jsx
index e0157dc..312dd41 100644
--- a/src/components/common/HotListTableView/index.jsx
+++ b/src/components/common/HotListTableView/index.jsx
@@ -71,13 +71,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 +91,8 @@
       },
       {
         title: '来源',
-        dataIndex: 'keyword',
-        key: 'keyword',
+        dataIndex: 'author',
+        key: 'author',
       },
     ];
   }

--
Gitblit v1.8.0