bugfix;解决个别示例警告

This commit is contained in:
Kvkens 2018-12-15 14:29:30 +08:00
parent 08c3f4412b
commit 91ba29f52f
7 changed files with 3127 additions and 2868 deletions

View File

@ -21,14 +21,14 @@ const columns5 = [
fixed: "left" fixed: "left"
}, },
{ title: "Age", width: 100, dataIndex: "age", key: "age", fixed: "left" }, { title: "Age", width: 100, dataIndex: "age", key: "age", fixed: "left" },
{ title: "Column 1", dataIndex: "address", key: "1" }, { title: "Column 1", dataIndex: "c1", key: "1" },
{ title: "Column 2", dataIndex: "address", key: "2" }, { title: "Column 2", dataIndex: "c2", key: "2" },
{ title: "Column 3", dataIndex: "address", key: "3" }, { title: "Column 3", dataIndex: "c3", key: "3" },
{ title: "Column 4", dataIndex: "address", key: "4" }, { title: "Column 4", dataIndex: "c4", key: "4" },
{ title: "Column 5", dataIndex: "address", key: "5" }, { title: "Column 5", dataIndex: "c5", key: "5" },
{ title: "Column 6", dataIndex: "address", key: "6" }, { title: "Column 6", dataIndex: "c6", key: "6" },
{ title: "Column 7", dataIndex: "address", key: "7" }, { title: "Column 7", dataIndex: "c7", key: "7" },
{ title: "Column 8", dataIndex: "address", key: "8" } { title: "Column 8", dataIndex: "c8", key: "8" }
]; ];
const data5 = [ const data5 = [

File diff suppressed because one or more lines are too long

30
dist/demo.css vendored
View File

@ -6680,6 +6680,10 @@ input.u-button[type="submit"] {
clear: both; clear: both;
display: table; display: table;
content: ''; } content: ''; }
.u-pagination-list > li.iconBtn > a {
padding: 0 11px;
font-size: 22px;
line-height: 1.57142857; }
.u-pagination-list > li > a, .u-pagination-list > li > span { .u-pagination-list > li > a, .u-pagination-list > li > span {
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
@ -6767,9 +6771,15 @@ input.u-button[type="submit"] {
margin: 5px; margin: 5px;
float: left; float: left;
min-width: 120px; } min-width: 120px; }
.u-pagination .data_per_select > span {
display: inline-block;
line-height: 36px;
float: left; }
.u-pagination .data_per_select .u-select { .u-pagination .data_per_select .u-select {
width: 50px; width: 50px;
margin: 0 6px; } margin: 0 6px;
height: 36px;
float: left; }
.u-pagination .data_per_select .u-select .u-select-selection { .u-pagination .data_per_select .u-select .u-select-selection {
height: 36px; } height: 36px; }
.u-pagination .data_per_select .u-select .u-select-selection .u-select-selection-rendered { .u-pagination .data_per_select .u-select .u-select-selection .u-select-selection-rendered {
@ -6789,20 +6799,26 @@ input.u-button[type="submit"] {
.u-pagination .page_jump { .u-pagination .page_jump {
float: left; float: left;
margin: 5px; } margin: 5px; }
.u-pagination .page_jump > span {
display: inline-block;
line-height: 36px;
float: left; }
.u-pagination .page_jump_value { .u-pagination .page_jump_value {
outline: none; outline: none;
-webkit-appearance: none; -webkit-appearance: none;
background: #fff; background: #fff;
border-radius: 4px; border-radius: 4px;
line-height: 32px;
width: 50px; width: 50px;
margin: 0 6px;
text-align: center; text-align: center;
border: 1px solid #d7d7d7; } border: 1px solid #d7d7d7; }
.u-pagination .page_jump_btn { .u-pagination .page_jump_btn,
margin-top: -3px; .u-pagination .page_jump_value {
margin-left: 10px; margin: 0 6px;
border-color: #d7d7d7; } padding: 0;
height: 36px;
line-height: 34px;
box-sizing: border-box;
float: left; }
.u-pagination-total { .u-pagination-total {
float: left; float: left;
height: 36px; height: 36px;

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

5899
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

View File

@ -91,8 +91,8 @@
"enzyme": "^2.9.1", "enzyme": "^2.9.1",
"es5-shim": "~4.1.10", "es5-shim": "~4.1.10",
"jest": "^22.0.4", "jest": "^22.0.4",
"react": "^15.5.0", "react": "^16.6.3",
"react-addons-test-utils": "^15.5.0", "react-addons-test-utils": "^15.5.0",
"react-dom": "^15.5.0" "react-dom": "^16.6.3"
} }
} }