瀏覽代碼

:art: https://github.com/siyuan-note/siyuan/issues/13328

Vanessa 7 月之前
父節點
當前提交
12a58b39a1
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/src/layout/dock/Backlink.ts
  2. 1 1
      app/src/protyle/util/reload.ts

+ 1 - 1
app/src/layout/dock/Backlink.ts

@@ -467,7 +467,7 @@ export class Backlink extends Model {
                     }
                 });
                 editor.protyle.notebookId = liElement.getAttribute("data-notebook-id");
-                searchMarkRender(editor.protyle, keyword.split(" "));
+                searchMarkRender(editor.protyle, response.data.keywords);
                 this.editors.push(editor);
             });
         }

+ 1 - 1
app/src/protyle/util/reload.ts

@@ -46,7 +46,7 @@ export const reloadProtyle = (protyle: IProtyle, focus: boolean, updateReadonly?
             }, response => {
                 protyle.options.backlinkData = isMention ? response.data.backmentions : response.data.backlinks;
                 renderBacklink(protyle, protyle.options.backlinkData);
-                searchMarkRender(protyle, keyword.split(" "));
+                searchMarkRender(protyle, response.data.keywords);
             });
         }
     } else {