Skip to content

Commit c6a7e22

Browse files
committed
fix. 动态图标
1 parent a096735 commit c6a7e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/listChildDocsClass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ function getEmojiMarkdownStr(iconString, hasChild) {
19461946
let result = iconString;
19471947
// TODO: 文档正文中目前不支持动态emoji,这里打回默认值
19481948
if (iconString.startsWith("api/icon/getDynamicIcon")) {
1949-
result = getEmojiMarkdownStr("", hasChild);
1949+
result = `![docIcon](${iconString})`;
19501950
} else if (iconString.indexOf(".") != -1) {
19511951
// if (!setting.customEmojiEnable) return hasChild ? "📑" : "📄";//禁用自定义emoji时
19521952
// emoji为网络地址时,不再补全/emojis路径

0 commit comments

Comments
 (0)