修改demo,消除警告

This commit is contained in:
huyueb 2017-11-28 16:35:33 +08:00
parent 26085cc3f8
commit d02af6c829
6 changed files with 2827 additions and 2560 deletions

View File

@ -21,6 +21,7 @@ const renderContent = (value, row, index) => {
const columns = [{
title: 'Name',
key: "name",
dataIndex: 'name',
render: (text, row, index) => {
if (index < 4) {
@ -35,11 +36,13 @@ const columns = [{
},
}, {
title: 'Age',
key: "Age",
dataIndex: 'age',
render: renderContent,
}, {
title: 'Home phone',
colSpan: 2,
key: "tel",
dataIndex: 'tel',
render: (value, row, index) => {
const obj = {
@ -60,10 +63,12 @@ const columns = [{
}, {
title: 'Phone',
colSpan: 0,
key: "phone",
dataIndex: 'phone',
render: renderContent,
}, {
title: 'Address',
key: "address",
dataIndex: 'address',
render: renderContent,
}];

File diff suppressed because one or more lines are too long

6
dist/demo.css vendored
View File

@ -6952,6 +6952,7 @@ ul {
.u-select-search--inline {
position: absolute;
width: 100%;
height: 100%; }
.u-select-search--inline .u-select-search-field-wrap {
width: 100%;
@ -6992,7 +6993,7 @@ ul {
width: auto;
padding: 0; }
.u-select-selection--multiple .u-select-search--inline .u-select-search-field {
width: 0.75em; }
width: 0.75em !important; }
.u-select-selection--multiple .u-select-selection-rendered {
margin-left: 5px;
margin-bottom: -3px;
@ -9202,4 +9203,7 @@ li.rc-time-picker-panel-select-option-disabled:hover {
background: transparent;
cursor: not-allowed; }
.calendar-picker {
width: 300px; }
/*# sourceMappingURL=demo.css.map */

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

5356
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long