修改demo,消除警告
This commit is contained in:
parent
26085cc3f8
commit
d02af6c829
|
@ -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
|
@ -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 */
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue