From c2cf13800073970f5f42723e20ec7e1404df655b Mon Sep 17 00:00:00 2001 From: izbz wh <731215820@qq.com> Date: Mon, 28 Dec 2020 10:16:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BA=E5=AE=9A=E5=88=97=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=8B=96=E6=8B=BD=E6=94=B9=E5=8F=98=E5=88=97=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/demo.js | 370 +++++++++++++++++++++++++++------------------ dist/demo.js.map | 2 +- src/TableHeader.js | 120 ++++++++++++--- 3 files changed, 325 insertions(+), 167 deletions(-) diff --git a/dist/demo.js b/dist/demo.js index 4972537..5f39572 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -84,7 +84,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__(915);var Demo0102 = __webpack_require__(916);var Demo0103 = __webpack_require__(917);var Demo0104 = __webpack_require__(918);var Demo0105 = __webpack_require__(919);var Demo0106 = __webpack_require__(922);var Demo0107 = __webpack_require__(923);var Demo0201 = __webpack_require__(924);var Demo0202 = __webpack_require__(925);var Demo0301 = __webpack_require__(926);var Demo0302 = __webpack_require__(927);var Demo0401 = __webpack_require__(930);var Demo0402 = __webpack_require__(931);var Demo0404 = __webpack_require__(934);var Demo0405 = __webpack_require__(938);var Demo0406 = __webpack_require__(940);var Demo0501 = __webpack_require__(941);var Demo0502 = __webpack_require__(943);var Demo0503 = __webpack_require__(944);var Demo0505 = __webpack_require__(945);var Demo0601 = __webpack_require__(946);var Demo0602 = __webpack_require__(947);var Demo0603 = __webpack_require__(948);var Demo0701 = __webpack_require__(949);var Demo0702 = __webpack_require__(950);var Demo0802 = __webpack_require__(951);var Demo0901 = __webpack_require__(956);var Demo0902 = __webpack_require__(957);var Demo0903 = __webpack_require__(958);var Demo1001 = __webpack_require__(959);var Demo1002 = __webpack_require__(960);var Demo1101 = __webpack_require__(961);var Demo1102 = __webpack_require__(962);var Demo1103 = __webpack_require__(963);var Demo1105 = __webpack_require__(964);var Demo1106 = __webpack_require__(965);var Demo1107 = __webpack_require__(966);var Demo1108 = __webpack_require__(967);var Demo1201 = __webpack_require__(968);var Demo1301 = __webpack_require__(971);var Demo1302 = __webpack_require__(972);var Demo1401 = __webpack_require__(978);var Demo1402 = __webpack_require__(980);var Demo1403 = __webpack_require__(981);var Demo1404 = __webpack_require__(982);var Demo1601 = __webpack_require__(983);var DemoArray = [{ "example": _react2['default'].createElement(Demo0101, null), "title": " 基本表格", "code": "/**\n*\n* @title 基本表格\n* @parent 基础 Basic\n* @description 当单元格内容过多时,会自动显示省略号,鼠标hover有提示。showRowNum 设置是否显示序号列。\n* demo0101\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\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