Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0

This commit is contained in:
转二 2017-09-25 21:13:35 +08:00
commit 42fc8bc2a5
6 changed files with 11 additions and 9 deletions

View File

@ -153,8 +153,8 @@
.reset-component;
cursor: pointer;
display: inline-block;
&:not(:last-child) {
margin-right: 8px;
& + & {
margin-left: 8px;
}
}

View File

@ -257,6 +257,7 @@
&-simple &-simple-pager {
display: inline-block;
margin-right: 8px;
height: 24px;
input {
margin-right: 8px;
@ -266,7 +267,7 @@
border: @border-width-base @border-style-base @border-color-base;
outline: none;
padding: 0 6px;
height: 24px;
height: 100%;
text-align: center;
transition: border-color .3s;
@ -277,8 +278,9 @@
}
}
.@{pagination-prefix-cls}:not(.@{pagination-prefix-cls}-simple) {
&.mini &-total-text {
.@{pagination-prefix-cls} {
&.mini &-total-text,
&.mini &-simple-pager {
height: 20px;
line-height: 20px;
}

View File

@ -26,7 +26,7 @@ export default class UploadList extends React.Component<UploadListProps, any> {
};
handleClose = (file: UploadFile) => {
const onRemove = this.props.onRemove;
const { onRemove } = this.props;
if (onRemove) {
onRemove(file);
}

View File

@ -94,7 +94,7 @@ ReactDOM.render(<App />, document.getElementById('root'));
### 4. Development & Debugging
Run your project and visit http://127.0.0.1:8000
Run your project and visit http://127.0.0.1:8001
```bash
$ npm start

View File

@ -93,7 +93,7 @@ ReactDOM.render(<App />, document.getElementById('root'));
### 4. 开发调试
一键启动调试,访问 http://127.0.0.1:8000 查看效果。
一键启动调试,访问 http://127.0.0.1:8001 查看效果。
```bash
$ npm start

View File

@ -37,7 +37,7 @@ export function getLocalizedPathname(path, zhCN) {
export function ping(callback) {
// eslint-disable-next-line
const url = 'https://private-a' + 'lipay' + 'objects.com/alip' + 'ay-rmsdeploy-image/rmsportal/RKuAiriJqrUhyqW.png';
const url = 'https://private-a' + 'lipay' + 'objects.alip' + 'ay.com/alip' + 'ay-rmsdeploy-image/rmsportal/RKuAiriJqrUhyqW.png';
const img = new Image();
let done;
const finish = (status) => {