diff --git a/components/list/__tests__/__snapshots__/pagination.test.js.snap b/components/list/__tests__/__snapshots__/pagination.test.js.snap index 84de706f5b..5cdeb37c12 100644 --- a/components/list/__tests__/__snapshots__/pagination.test.js.snap +++ b/components/list/__tests__/__snapshots__/pagination.test.js.snap @@ -538,15 +538,6 @@ exports[`List.pagination should change page size work 2`] = `
-
-
-
diff --git a/components/upload/index.en-US.md b/components/upload/index.en-US.md index 2f7de69efe..325dbac878 100644 --- a/components/upload/index.en-US.md +++ b/components/upload/index.en-US.md @@ -115,3 +115,11 @@ See . ### Why does `onChange` sometimes return File object and other times return { originFileObj: File }? For compatible case, we return File object when `beforeUpload` return `false`. It will merge to `{ originFileObj: File }` in next major version. Current version is compatible to get origin file by `info.file.originFileObj`. You can change this before major release. + +### Why sometime Chrome can not upload? + +Chrome update will also break native upload. Please restart chrome to finish the upload work. Ref: + +- [#32672](https://github.com/ant-design/ant-design/issues/32672) +- [#32913](https://github.com/ant-design/ant-design/issues/32913) +- [#33988](https://github.com/ant-design/ant-design/issues/33988) diff --git a/components/upload/index.zh-CN.md b/components/upload/index.zh-CN.md index 08f55ea1e5..79cd9e9eeb 100644 --- a/components/upload/index.zh-CN.md +++ b/components/upload/index.zh-CN.md @@ -115,3 +115,11 @@ cover: https://gw.alipayobjects.com/zos/alicdn/QaeBt_ZMg/Upload.svg ### `onChange` 为什么有时候返回 File 有时候返回 { originFileObj: File }? 历史原因,在 `beforeUpload` 返回 `false` 时,会返回 File 对象。在下个大版本我们会统一返回 `{ originFileObj: File }` 对象。当前版本已经兼容所有场景下 `info.file.originFileObj` 获取原 File 写法。你可以提前切换。 + +### 为何有时 Chrome 点击 Upload 无法弹出文件选择框? + +与 antd 无关,原生上传也会失败。请重启 Chrome 浏览器,让其完成升级工作。相关 issue: + +- [#32672](https://github.com/ant-design/ant-design/issues/32672) +- [#32913](https://github.com/ant-design/ant-design/issues/32913) +- [#33988](https://github.com/ant-design/ant-design/issues/33988)