Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Feb 11, 2025
1 parent 26ce141 commit 7fbed37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/index/src/pages/player/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function PlayerPage({ id }: any) {

const likeHandler = useCallback(() => {
oaii.post(`/like`, { data: { post_id: id } }).then((_) => {
toast.error('你所热爱的,就是你的生活。\r\n --------?', { id })
toast.error('QwQ', { id })
setMetaInfo((prev) => ({ comment: prev.comment, like: prev.like + 1 }))
})
}, [])
Expand Down
11 changes: 6 additions & 5 deletions packages/index/src/pages/player/info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ export default function PlayerInfo({
type="render"
value={
Content?.replace(/\!\[suo\](.+)/, '')
.replace(/播放出错.+\n/, '')
.replace(/播放失效.+\n/, '')
.replace(/有问题.+\n/, '')
.replace(/clicli.*\n/, '')
.replace(/CliCli.*\d+/, '') || '#### 暂无详情'
.replace(/播放出错.+(\n)?/, '')
.replace(/播放失效.+(\n)?/, '')
.replace(/有问题.+(\n)?/, '')
.replace(/clicli.*(\n)?/, '')
.replace(/CliCli.*\d+/, '')
.replace(/https:\/\/get\.tucao\..*(\n)?/, '') || '#### 暂无详情'
}
/>
</section>
Expand Down

0 comments on commit 7fbed37

Please sign in to comment.