From 75f3fd6e67851b9079e0b82c8cd94bf7649fe8bd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 08 三月 2021 18:53:44 +0800
Subject: [PATCH] 2021-03-08

---
 src/components/Image/index.jsx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/components/Image/index.jsx b/src/components/Image/index.jsx
index 30631d4..508c7be 100644
--- a/src/components/Image/index.jsx
+++ b/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

--
Gitblit v1.8.0