lanxin 15 시간 전
부모
커밋
01d1232f53
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      project/src/pages/A5viewM/PanoHot/index.tsx

+ 1 - 1
project/src/pages/A5viewM/PanoHot/index.tsx

@@ -16,7 +16,7 @@ function ViewHot({ activeIndex, closeFn }: { activeIndex: number; closeFn: () =>
       <div className={styles.bottom}>
         <div
           className={styles.tab}
-          onClick={() => history.replace(`/view/atlas?id=${activeIndex}`)}
+          onClick={() =>cardNames[activeIndex].modelShow && history.replace(`/view/atlas?id=${activeIndex}`)}
         ></div>
       </div>
       <div className={styles.closeBtn} onClick={closeFn}>