Browse Source

删除expand方法

306132416@qq.com 4 years ago
parent
commit
735231d974
2 changed files with 1 additions and 18 deletions
  1. 1 1
      boniu/.eslintcache
  2. 0 17
      boniu/src/components/indexBasicInfo/indexBasicInfo.jsx

File diff suppressed because it is too large
+ 1 - 1
boniu/.eslintcache


+ 0 - 17
boniu/src/components/indexBasicInfo/indexBasicInfo.jsx

@@ -194,20 +194,3 @@ var subListTime = [
     desc: "涨跌额"
   }
 ];
-const expandFunc = (input) => {
-  columns = [
-    {
-      title: "名称",
-      dataIndex: "name",
-      key: "name",
-      render: (text) => <span>{text}</span>
-    },
-    {
-      title: "说明",
-      dataIndex: "desc",
-      key: "desc"
-    }
-  ];
-  console.log(input);
-  return <Table columns={columns} dataSource={input} pagination={false} />;
-};