year hace 3 semanas
padre
commit
6907fe6899
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/dialog/img/index.tsx

+ 1 - 0
src/dialog/img/index.tsx

@@ -26,6 +26,7 @@ const ImgDialog = () => {
             }, 10);
         },
         hide() {
+            setData({});
             setVisible(false);
         },
     };