Skip to content

Commit b97f914

Browse files
committed
bugfix
1 parent 18b9d9f commit b97f914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function getJsonParam() {
229229
function getUrlAuthor() {
230230
const params = new URLSearchParams(window.location.search);
231231
const author = params.get('author');
232-
return author ? decodeURIComponent(author) : null;
232+
return author ? decodeURIComponent(author).split(',').map(k => k.trim()).filter(k => k) : null;
233233
}
234234

235235
// 从URL参数中获取keywords

0 commit comments

Comments
 (0)