Skip to content

Commit

Permalink
Merge pull request #4662 from sunfkny/patch-2
Browse files Browse the repository at this point in the history
[组件-禁止跳转动态详情] fix: 修复带图转发动态的 `查看图片` 失效
  • Loading branch information
the1812 authored Mar 4, 2024
2 parents 9703861 + b5dfbcc commit 0abe8a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions registry/lib/components/feeds/disable-details/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const entry = async () => {
if (target.hasAttribute('click-title')) {
return
}
if (target.hasAttribute('data-pics')) {
return
}
if (
[
'bili-rich-text__action',
Expand Down

0 comments on commit 0abe8a6

Please sign in to comment.