Image.tsx中的getImgRef似乎并无作用
Opened this issue · 0 comments
invokerzaa commented
getImgRef似乎并没有发挥预期的作用,onLoad()方法并且if (img?.complete && (img.naturalWidth || img.naturalHeight)) 这行代码触发,而是img自身的onLoad事件,getImgRef和isLoaded去掉之后似乎并无影响?
Opened this issue · 0 comments
getImgRef似乎并没有发挥预期的作用,onLoad()方法并且if (img?.complete && (img.naturalWidth || img.naturalHeight)) 这行代码触发,而是img自身的onLoad事件,getImgRef和isLoaded去掉之后似乎并无影响?