lanxin před 14 hodinami
rodič
revize
d478f0d989

+ 8 - 5
project/src/pages/A5view/PageSon/A5win/index.tsx

@@ -54,11 +54,14 @@ function A5win({ id, closeFu }: Props) {
                 ) : null}
 
                 <img src={require('@/assets/three/icX.png')} alt='' onClick={closeFu} />
-                <img
-                  src={require('@/assets/three/icM.png')}
-                  alt=''
-                  onClick={() => history.replace(`/view/model?id=${info.id}`)}
-                />
+
+                {info.modelShow ? (
+                  <img
+                    src={require('@/assets/three/icM.png')}
+                    alt=''
+                    onClick={() => history.replace(`/view/model?id=${info.id}`)}
+                  />
+                ) : null}
               </div>
             </>
           ) : null}