Reproduction link
https://github.com/wangshu-g/antd-Image-fetchPriority
Steps to reproduce
git clone https://github.com/wangshu-g/antd-Image-fetchPriority
cd antd-Image-fetchPriority
npm install
npm run dev
// F12 查看源代码
// fetchPriority 属性没有正确传递给内部的 img 节点上
// 而是错误地出现在了外部的 div 节点
What is expected?
期望 Image 组件的 fetchPriority 属性可以正常传递到内部 img 节点上
What is actually happening?
目前 fetchPriority 属性无法正确传递
| Environment |
Info |
| antd |
6.3.3 |
| React |
18.2.0 |
| System |
Ubuntu Resolute Raccoon (development branch) x86_64 |
| Browser |
Microsoft Edge 145.0.3800.82 (正式版本) (64 位) |
该属性提供获取图像时应使用的相对优先级提示
Reproduction link
https://github.com/wangshu-g/antd-Image-fetchPriority
Steps to reproduce
What is expected?
期望 Image 组件的 fetchPriority 属性可以正常传递到内部 img 节点上
What is actually happening?
目前 fetchPriority 属性无法正确传递
该属性提供获取图像时应使用的相对优先级提示