Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68d8735

Browse files
wangliang181230sy-records
authored andcommitted
fix: genIndex error for search (#1933)
1 parent78aaa37 commit68d8735

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/plugins/search/search.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ export function genIndex(path, content = '', router, depth) {
128128
token.text=getTableData(token);
129129
token.text=getListData(token);
130130

131-
index[slug].body=index[slug].body
132-
?index[slug].body+token.text
133-
:token.text;
131+
index[slug].body=token.text||'';
134132
}
135133
}
136134
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp