Skip to content

Commit

Permalink
修复目录选中
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Oct 13, 2022
1 parent d295475 commit 9b4e914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ protected function buildDocs()
$articleContent = $this->markdownToHtml($markdownContent);

$item = [
'id' => uniqid('', true),
'id' => $this->buildData['fileNameRelation'][$mdFileName]['id'] ?? uniqid('', true),
'title' => $title,
'pageTitle' => $title,
'url' => $url,
Expand Down

0 comments on commit 9b4e914

Please sign in to comment.