From 54b1aa0084227b2ff70197a26b0fb216c97a3598 Mon Sep 17 00:00:00 2001 From: jonyshi Date: Wed, 26 Jun 2019 16:32:17 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/demolist/Demo1001.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/demo/demolist/Demo1001.js b/demo/demolist/Demo1001.js index 70409b1..6981dab 100644 --- a/demo/demolist/Demo1001.js +++ b/demo/demolist/Demo1001.js @@ -36,14 +36,21 @@ const columns = [ title: "联系人", dataIndex: "d", key: "d", + width: 500, + }, + { + title: "操作", + dataIndex: "e", + key: "e", width: 200, + fixed: 'right', } ]; const data = [ - { a: "NU0391001", b: "2019-03-01", c: 'xx供应商',d:'Tom', key: "2" }, - { a: "NU0391002", b: "2018-11-02", c: 'yy供应商',d:'Jack', key: "1" }, - { a: "NU0391003", b: "2019-05-03", c: 'zz供应商',d:'Jane', key: "3" } + { a: "NU0391001", b: "2019-03-01", c: 'xx供应商',d:'Tom',e:'...', key: "2" }, + { a: "NU0391002", b: "2018-11-02", c: 'yy供应商',d:'Jack',e:'...', key: "1" }, + { a: "NU0391003", b: "2019-05-03", c: 'zz供应商',d:'Jane',e:'...', key: "3" } ]; const DragColumnTable = dragColumn(Table);