Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
通知接受任务
bulaienaofutuojiesenzhange40f680ac2c7
diff --git a/src/components/PublishDialog/index.tsx b/src/components/PublishDialog/index.tsxindex 01e6154e..9bf8ae57 100644--- a/src/components/PublishDialog/index.tsx+++ b/src/components/PublishDialog/index.tsx@@ -321,9 +321,7 @@ const PublishDialog = memo(});}}- console.log(draft);- console.log(nextParams);if (step === 1 && expandedPubItem) {setOnePubParams(nextParams, expandedPubItem.account.id);} else {diff --git a/src/components/notification/NotificationPanel.tsx b/src/components/notification/NotificationPanel.tsxindex 01a3dada..40d4c98e 100644--- a/src/components/notification/NotificationPanel.tsx+++ b/src/components/notification/NotificationPanel.tsx@@ -236,7 +236,7 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose// 接受任务const handleAcceptTask = async (account?: SocialAccount) => {if (!selectedTask) return;-+// 显示进度弹窗setTaskProgressVisible(true);setTaskProgress({@@ -1133,6 +1133,9 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClosereturn null;})()}+ {++ selectedTask.opportunityStatus == 'pending' && (<Buttontype="primary"onClick={() => handleTaskAction(selectedTask)}@@ -1140,6 +1143,8 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose>{t('acceptTask')}</Button>+ )+ }</div>)}</div>