Parcourir la source

Pagination: fix default layout style in firefox

Leopoldthecoder il y a 8 ans
Parent
commit
bda5754d86

+ 1 - 1
examples/docs/en-US/upload.md

@@ -370,5 +370,5 @@ disabled | whether to disable upload | boolean | — | false |
 ### Methods
 | Methods Name | Description | Parameters |
 |---------- |-------- |---------- |
-| clearFiles | clear the uploaded file list | — |
+| clearFiles | clear the uploaded file list (this method is not supported in the `before-upload` hook) | — |
 | abort | cancel upload request | ( file: fileList's item ) |

+ 1 - 1
examples/docs/zh-CN/upload.md

@@ -419,5 +419,5 @@
 ### Methods
 | 方法名      | 说明          | 参数 |
 |---------- |-------------- | -- |
-| clearFiles | 清空已上传的文件列表 | — |
+| clearFiles | 清空已上传的文件列表(该方法不支持在 before-upload 中调用) | — |
 | abort | 取消上传请求 | ( file: fileList 中的 file 对象 ) |

+ 1 - 1
packages/pagination/src/pagination.js

@@ -77,7 +77,7 @@ export default {
     });
 
     if (haveRightWrapper) {
-      template.children.push(rightWrapper);
+      template.children.unshift(rightWrapper);
     }
 
     return template;