修改示例

This commit is contained in:
jonyshi 2019-06-26 16:32:17 +08:00
parent 6427080647
commit 54b1aa0084
1 changed files with 10 additions and 3 deletions

View File

@ -36,14 +36,21 @@ const columns = [
title: "联系人", title: "联系人",
dataIndex: "d", dataIndex: "d",
key: "d", key: "d",
width: 500,
},
{
title: "操作",
dataIndex: "e",
key: "e",
width: 200, width: 200,
fixed: 'right',
} }
]; ];
const data = [ const data = [
{ a: "NU0391001", b: "2019-03-01", c: 'xx供应商',d:'Tom', key: "2" }, { a: "NU0391001", b: "2019-03-01", c: 'xx供应商',d:'Tom',e:'...', key: "2" },
{ a: "NU0391002", b: "2018-11-02", c: 'yy供应商',d:'Jack', key: "1" }, { a: "NU0391002", b: "2018-11-02", c: 'yy供应商',d:'Jack',e:'...', key: "1" },
{ a: "NU0391003", b: "2019-05-03", c: 'zz供应商',d:'Jane', key: "3" } { a: "NU0391003", b: "2019-05-03", c: 'zz供应商',d:'Jane',e:'...', key: "3" }
]; ];
const DragColumnTable = dragColumn(Table); const DragColumnTable = dragColumn(Table);