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