能不能处理好版本兼容问题??? #10293
能不能处理好版本兼容问题??? #10293
Comments
Translation of this issue: Can I handle version compatibility issues? ? ?
Version3.4.3 EnvironmentAntd 3.4.1 and antd 3.4.3 Reproduction link[https://ant.design/components/upload-en/] (https://ant.design/components/upload-cn/) Steps to reproduceUpload's onChange event! ! ! What is expected?See me description What is actually happening?See me description |
@china-liji 你使用了 beforeUpload 并 return 了 false 是么? |
我今天会发个 patch |
* add `lib/**/style/*` as sideEffects (#10217) * Fix upload onChange arg type when beforeUpload return false, close #10293 * 3.4.4 * Fix ts error temporarily, DefinitelyTyped/DefinitelyTyped#25342
文档没更新?file的name位置变了
now:
|
果然妹子头像好使。。。#10319 |
Version
3.4.3
Environment
antd 3.4.1 与 antd 3.4.3
Reproduction link
https://ant.design/components/upload-cn/
Steps to reproduce
Upload 的 onChange 事件!!!
本来 3.4.1 之前返回的是 { file, fileList },其中 file 是 window.File 实例,可用于 file instanceOf File,
3.4.1 居然 file 改成了 object, 还给一个 originFileObj ???
这样算了,我改了一次兼容问题
结果 3.4.3 fileList 里面的也改成了 object , 但 3.4.1 却没有一起改!!!
有问题能统一处理吗?? 只改一部分?分2个版本???
What is expected?
看我描述
What is actually happening?
看我描述
The text was updated successfully, but these errors were encountered: