src/components/Image/index.jsx @@ -22,6 +22,7 @@ } setSize = (width, height) => { if (!this.ImageWrapDom) return const { clientWidth, clientHeight } = this.ImageWrapDom if (!clientWidth || !clientHeight || !width || !height) return