Commit 5bcaa1b9 by zhangleyuan

feat:修改培训任务

parent 1466132c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: zhangleyuan * @Author: zhangleyuan
* @Date: 2021-02-20 16:45:51 * @Date: 2021-02-20 16:45:51
* @LastEditors: zhangleyuan * @LastEditors: zhangleyuan
* @LastEditTime: 2021-02-23 18:10:58 * @LastEditTime: 2021-02-23 19:51:49
* @Description: 描述一下 * @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -104,15 +104,25 @@ class TrainingTask extends React.Component { ...@@ -104,15 +104,25 @@ class TrainingTask extends React.Component {
columns={columns} columns={columns}
rowKey="index" rowKey="index"
expandable={{ expandable={{
expandedRowRender: record => <p style={{ margin: 0 }}>我是展开部分的内容</p>, expandedRowRender: record => <Table
pagination={false}
dataSource={dataSource}
columns={columns}
rowKey="index"
components={{
body: {
wrapper: this.DraggableContainer,
row: this.DraggableBodyRow,
},
}}
/>,
}}
components={{
body: {
wrapper: this.DraggableContainer,
row: this.DraggableBodyRow,
},
}} }}
// components={{
// body: {
// wrapper: this.DraggableContainer,
// row: this.DraggableBodyRow,
// },
// }}
/> />
); );
} }
......
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