Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Dec 8, 2023
1 parent 27d27b8 commit 5b31137
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private static ArrayList<Element> ensureImageInfo(Resources resources,
//确保该图片信息 resource 在原 originItemHrefSet 集合中没有出现过
if (!originItemHrefSet.contains(imageHref)) {
Element tempElement = packageDocument.createElement("item");
tempElement.setAttribute("id", imageHref.replace("/", ""));
tempElement.setAttribute("id", resource.getId());
tempElement.setAttribute("href", imageHref);
tempElement.setAttribute("media-type", currentMediaType.getName());
fixedElements.add(tempElement);
Expand Down

0 comments on commit 5b31137

Please sign in to comment.