Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
fix(热门内容): 添加表格跳转到对于链接
gaoSir9d8d965291a1
diff --git a/src/app/[lng]/hotContent/components/HotContent/index.tsx b/src/app/[lng]/hotContent/components/HotContent/index.tsxindex 3697f620..19ada8db 100644--- a/src/app/[lng]/hotContent/components/HotContent/index.tsx+++ b/src/app/[lng]/hotContent/components/HotContent/index.tsx@@ -357,6 +357,14 @@ const HotContent = memo(rowKey={(record) => record.id}columns={columns}pagination={false}+ onRow={(record) => {+ return {+ onClick: () => {+ if (!record.url) return;+ window.open(record.url, "_blank");+ },+ };+ }}/></InfiniteScroll></div>