Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
style: 1
牛文政9be4d75fadaa
diff --git a/electron/main/dataCenter/controller.ts b/electron/main/dataCenter/controller.tsindex f44df333..96dcf8b6 100644--- a/electron/main/dataCenter/controller.ts+++ b/electron/main/dataCenter/controller.ts@@ -15,7 +15,7 @@ export class DataCenterController {@Scheduled('*/30 * * * *', 'sync_accounts')async syncAccounts() {try {- const userInfo = await getUserInfo();+ const userInfo = getUserInfo();const token = getUserToken();if (!userInfo || !token) return;diff --git a/src/views/reply/components/commentList.tsx b/src/views/reply/components/commentList.tsxindex 20e5e125..7c96fe70 100644--- a/src/views/reply/components/commentList.tsx+++ b/src/views/reply/components/commentList.tsx@@ -120,7 +120,7 @@ const Com = forwardRef<CommentListRef>((props: any, ref) => {))}{commentList.length > 0 && (- <p>+ <p className="text-center"><Button type="link" onClick={() => getCommentList(workData!)}>加载更多</Button>diff --git a/src/views/reply/index.tsx b/src/views/reply/index.tsxindex fde25e30..0b84d15f 100644--- a/src/views/reply/index.tsx+++ b/src/views/reply/index.tsx@@ -163,18 +163,19 @@ export default function Page() {</Row></div>))}- {wordList.length > 0 && (- <p>- <Button- type="link"- onClick={() => getCreatorList(activeAccountId)}- >- 加载更多- </Button>- </p>- )}</div>)}++ {wordList.length > 0 && (+ <p className="text-center">+ <Button+ type="link"+ onClick={() => getCreatorList(activeAccountId)}+ >+ 加载更多+ </Button>+ </p>+ )}</Tabs.TabPane><Tabs.TabPane tab="自动任务" key="2"><div style={{ width: '100%' }}>