修改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 = [{ const columns = [{
title: 'Name', title: 'Name',
key: "name",
dataIndex: 'name', dataIndex: 'name',
render: (text, row, index) => { render: (text, row, index) => {
if (index < 4) { if (index < 4) {
@ -35,11 +36,13 @@ const columns = [{
}, },
}, { }, {
title: 'Age', title: 'Age',
key: "Age",
dataIndex: 'age', dataIndex: 'age',
render: renderContent, render: renderContent,
}, { }, {
title: 'Home phone', title: 'Home phone',
colSpan: 2, colSpan: 2,
key: "tel",
dataIndex: 'tel', dataIndex: 'tel',
render: (value, row, index) => { render: (value, row, index) => {
const obj = { const obj = {
@ -60,10 +63,12 @@ const columns = [{
}, { }, {
title: 'Phone', title: 'Phone',
colSpan: 0, colSpan: 0,
key: "phone",
dataIndex: 'phone', dataIndex: 'phone',
render: renderContent, render: renderContent,
}, { }, {
title: 'Address', title: 'Address',
key: "address",
dataIndex: 'address', dataIndex: 'address',
render: renderContent, 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 { .u-select-search--inline {
position: absolute; position: absolute;
width: 100%;
height: 100%; } height: 100%; }
.u-select-search--inline .u-select-search-field-wrap { .u-select-search--inline .u-select-search-field-wrap {
width: 100%; width: 100%;
@ -6992,7 +6993,7 @@ ul {
width: auto; width: auto;
padding: 0; } padding: 0; }
.u-select-selection--multiple .u-select-search--inline .u-select-search-field { .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 { .u-select-selection--multiple .u-select-selection-rendered {
margin-left: 5px; margin-left: 5px;
margin-bottom: -3px; margin-bottom: -3px;
@ -9202,4 +9203,7 @@ li.rc-time-picker-panel-select-option-disabled:hover {
background: transparent; background: transparent;
cursor: not-allowed; } cursor: not-allowed; }
.calendar-picker {
width: 300px; }
/*# sourceMappingURL=demo.css.map */ /*# sourceMappingURL=demo.css.map */

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

5370
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