tangning 7 달 전
부모
커밋
32b6e7470e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/view/case/help.ts

+ 1 - 1
src/view/case/help.ts

@@ -242,7 +242,7 @@ export const fuseImageJoinHot = async (
     contentDoc.querySelectorAll(".hot-item")
   ) as HTMLDivElement[];
   hotItems.forEach((hot) => {
-    const hotTitle = (hot.querySelector(".tip") as HTMLDivElement).innerText;
+    const hotTitle = (hot.querySelector(".tip") as HTMLDivElement)?.innerText;
     const index = showTags.findIndex(
       (tag) => tag.tagTitle.trim() === hotTitle.trim()
     );