From 52b794d5799337b6d5b1521e19657859ab0f9081 Mon Sep 17 00:00:00 2001 From: izbz wh <731215820@qq.com> Date: Tue, 2 Jul 2019 16:35:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=BB=9A=E5=8A=A8=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E8=A1=A8=E6=A0=BC=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/demo.js | 142 ++++++++++++++++++--------------------------- dist/demo.js.map | 2 +- src/Table.js | 3 + src/TableCell.js | 14 +++-- src/TableRow.js | 4 +- src/lib/bigData.js | 8 ++- 6 files changed, 80 insertions(+), 93 deletions(-) diff --git a/dist/demo.js b/dist/demo.js index 2f311c8..388d7b3 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -80,7 +80,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - var Demo0101 = __webpack_require__(530);var Demo0102 = __webpack_require__(533);var Demo0103 = __webpack_require__(534);var Demo0104 = __webpack_require__(535);var Demo0105 = __webpack_require__(536);var Demo0106 = __webpack_require__(537);var Demo0107 = __webpack_require__(538);var Demo0201 = __webpack_require__(539);var Demo0202 = __webpack_require__(540);var Demo0301 = __webpack_require__(541);var Demo0302 = __webpack_require__(542);var Demo0402 = __webpack_require__(545);var Demo0404 = __webpack_require__(546);var Demo0405 = __webpack_require__(551);var Demo0501 = __webpack_require__(553);var Demo0502 = __webpack_require__(555);var Demo0503 = __webpack_require__(556);var Demo0505 = __webpack_require__(557);var Demo0601 = __webpack_require__(558);var Demo0602 = __webpack_require__(559);var Demo0603 = __webpack_require__(560);var Demo0701 = __webpack_require__(561);var Demo0702 = __webpack_require__(562);var Demo0802 = __webpack_require__(563);var Demo0901 = __webpack_require__(569);var Demo0902 = __webpack_require__(570);var Demo0903 = __webpack_require__(571);var Demo1001 = __webpack_require__(572);var Demo1002 = __webpack_require__(574);var Demo1101 = __webpack_require__(575);var Demo1102 = __webpack_require__(576);var Demo1103 = __webpack_require__(577);var Demo1105 = __webpack_require__(578);var Demo1106 = __webpack_require__(579);var Demo1107 = __webpack_require__(580);var Demo1108 = __webpack_require__(581);var Demo1201 = __webpack_require__(582);var Demo1301 = __webpack_require__(583);var Demo1302 = __webpack_require__(584);var Demo1401 = __webpack_require__(590);var Demo1402 = __webpack_require__(592);var Demo1403 = __webpack_require__(593);var Demo1404 = __webpack_require__(594);var Demo1601 = __webpack_require__(595);var DemoArray = [{ "example": _react2['default'].createElement(Demo0101, null), "title": " 基本表格", "code": "/**\n*\n* @title 基本表格\n* @parent 基础 Basic\n* @description 单元格数据过长时,可结合Tooltip组件使用。\n* demo0101\n*/\n\nimport React, { Component } from \"react\";\nimport {Button,Tooltip} from \"tinper-bee\";\nimport { Table } from 'tinper-bee';\n\nconst columns = [\n { title: \"员工编号\", dataIndex: \"a\", key: \"a\", width: 150 },\n { title: \"员工姓名\", dataIndex: \"b\", key: \"b\", width:100},\n { title: \"性别\", dataIndex: \"c\", key: \"c\", width: 100},\n { title: \"部门\", dataIndex: \"d\", key: \"d\", width: 100 },\n { title: \"职级\", dataIndex: \"e\", key: \"e\", width: 100 }\n];\n\nconst data = [\n { a: \"ASVAL_20190328\", b: \"小张\", c: \"男\", d: \"财务二科\", e: \"M1\", key: \"1\" },\n { a: \"ASVAL_20190320\", b: \"小明\", c: \"男\", d: \"财务一科\", e: \"T1\", key: \"2\" },\n { a: \"ASVAL_20190312\", b: \"小红\", c: \"女\", d: \"财务一科\", e: \"T2\", key: \"3\" }\n];\n\nclass Demo0101 extends Component {\n render() {\n return (\n
{ title }
\n{ desc }
\n 查看源码 \n\n { code }
\n
\n {!!scss_code ?\n { scss_code }
\n
: null }\n