Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
选择区域问题
daoyian00f888cb3148
diff --git a/src/views/replyother/replyother.tsx b/src/views/replyother/replyother.tsxindex 81c15831..bf376799 100644--- a/src/views/replyother/replyother.tsx+++ b/src/views/replyother/replyother.tsx@@ -809,12 +809,22 @@ export default function Page() {columnClassName={styles.myMasonryGridColumn}>{postList.map((item: any, index: number) => (- <div+ <List.Itemkey={`${item.dataId || item.coverUrl}-${index}`}className={styles.masonryItem}+ onClick={() => {+ if (isSelectMode) {+ handlePostSelect(item.dataId);+ }+ }}+ style={{+ cursor: isSelectMode ? 'pointer' : 'default',+ background: selectedPosts.some((p) => p.dataId === item.dataId) ? 'rgba(24, 144, 255, 0.1)' : 'transparent'+ }}><Card- hoverable+ hoverable={isSelectMode}+ className={styles.postCard}cover={<divstyle={{@@ -925,7 +935,7 @@ export default function Page() {}/></Card>- </div>+ </List.Item>))}</Masonry>