ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

为什么用popover组件设置背景图时候会重新刷图片接口,用img标签就不会

Open glw116 opened this issue 1 year ago • 1 comments
trafficstars

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

os

Reproduction link

Edit on CodeSandbox

Steps to reproduce

打开f12勾选img,hover到背景图片上,接口会请求多次,hover到图片上不会请求多次

What is expected?

hover到背景图片上,只请求一次图片

What is actually happening?

图片地址重复请求

glw116 avatar Jan 15 '24 03:01 glw116

hover到背景图时候重复加载 image hover到图片只加载一次 image

glw116 avatar Jan 16 '24 10:01 glw116

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 17 '24 02:03 github-actions[bot]