diff --git a/demo/index-demo-base.js b/demo/index-demo-base.js index f64414d..23bf598 100644 --- a/demo/index-demo-base.js +++ b/demo/index-demo-base.js @@ -1,3 +1,4 @@ +import polyfill from '@babel/polyfill' import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Con, Row, Col } from 'bee-layout'; diff --git a/demo/index.js b/demo/index.js index 2738729..fdcfa6d 100644 --- a/demo/index.js +++ b/demo/index.js @@ -1,3 +1,4 @@ +import polyfill from '@babel/polyfill' import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Con, Row, Col } from 'bee-layout'; diff --git a/dist/demo.js b/dist/demo.js index 8859cd2..39334df 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -46,27 +46,31 @@ 'use strict'; - var _react = __webpack_require__(1); + var _polyfill = __webpack_require__(1); + + var _polyfill2 = _interopRequireDefault(_polyfill); + + var _react = __webpack_require__(308); var _react2 = _interopRequireDefault(_react); - var _reactDom = __webpack_require__(2); + var _reactDom = __webpack_require__(309); var _reactDom2 = _interopRequireDefault(_reactDom); - var _beeLayout = __webpack_require__(3); + var _beeLayout = __webpack_require__(310); - var _beePanel = __webpack_require__(9); + var _beePanel = __webpack_require__(316); - var _beeDrawer = __webpack_require__(72); + var _beeDrawer = __webpack_require__(379); var _beeDrawer2 = _interopRequireDefault(_beeDrawer); - var _beeClipboard = __webpack_require__(86); + var _beeClipboard = __webpack_require__(393); var _beeClipboard2 = _interopRequireDefault(_beeClipboard); - var _src = __webpack_require__(285); + var _src = __webpack_require__(583); var _src2 = _interopRequireDefault(_src); @@ -80,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__(617);var Demo0102 = __webpack_require__(618);var Demo0103 = __webpack_require__(619);var Demo0104 = __webpack_require__(620);var Demo0105 = __webpack_require__(621);var Demo0106 = __webpack_require__(624);var Demo0107 = __webpack_require__(625);var Demo0201 = __webpack_require__(626);var Demo0202 = __webpack_require__(627);var Demo0301 = __webpack_require__(628);var Demo0302 = __webpack_require__(629);var Demo0401 = __webpack_require__(632);var Demo0402 = __webpack_require__(633);var Demo0404 = __webpack_require__(636);var Demo0405 = __webpack_require__(640);var Demo0406 = __webpack_require__(642);var Demo0501 = __webpack_require__(643);var Demo0502 = __webpack_require__(645);var Demo0503 = __webpack_require__(646);var Demo0505 = __webpack_require__(647);var Demo0601 = __webpack_require__(648);var Demo0602 = __webpack_require__(649);var Demo0603 = __webpack_require__(650);var Demo0701 = __webpack_require__(651);var Demo0702 = __webpack_require__(652);var Demo0802 = __webpack_require__(653);var Demo0901 = __webpack_require__(658);var Demo0902 = __webpack_require__(659);var Demo0903 = __webpack_require__(660);var Demo1001 = __webpack_require__(661);var Demo1002 = __webpack_require__(662);var Demo1101 = __webpack_require__(663);var Demo1102 = __webpack_require__(664);var Demo1103 = __webpack_require__(665);var Demo1105 = __webpack_require__(666);var Demo1106 = __webpack_require__(667);var Demo1107 = __webpack_require__(668);var Demo1108 = __webpack_require__(669);var Demo1201 = __webpack_require__(670);var Demo1301 = __webpack_require__(673);var Demo1302 = __webpack_require__(674);var Demo1401 = __webpack_require__(680);var Demo1402 = __webpack_require__(682);var Demo1403 = __webpack_require__(683);var Demo1404 = __webpack_require__(684);var Demo1601 = __webpack_require__(685);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