Merge pull request #5222 from CrazyboyQCD/preview-fixes

fix: 自动点赞忽略黑名单的问题
This commit is contained in:
Grant Howard 2025-05-12 23:21:09 +08:00 committed by GitHub
commit 732364962e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ export const component = defineComponentMetadata({
const blackList = getData(BlackListDataKey)
forEachFeedsCard({
added: card => {
if (blackList.includes(card.username)) {
if (blackList[0].users.includes(card.username)) {
return
}
const likeButtons = dq(card.element, '.bili-dyn-action.like') as HTMLElement