Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
发布问题修复
bulaienaofutuojiesenzhang47197d370191
diff --git a/src/components/PublishDialog/index.tsx b/src/components/PublishDialog/index.tsxindex 9bf8ae57..4027a20b 100644--- a/src/components/PublishDialog/index.tsx+++ b/src/components/PublishDialog/index.tsx@@ -394,7 +394,7 @@ const PublishDialog = memo(: PubType.ImageText,title: item.params.title || "",desc: item.params.des,- accountId: item.account.account,+ accountId: item.account.id,accountType: item.account.type,videoUrl: item.params.video?.ossUrl,coverUrl:diff --git a/src/components/notification/NotificationPanel.tsx b/src/components/notification/NotificationPanel.tsxindex e656f797..b730dec4 100644--- a/src/components/notification/NotificationPanel.tsx+++ b/src/components/notification/NotificationPanel.tsx@@ -270,7 +270,7 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onCloseconst publishData = {flowId: publishAccount.uid, // 使用账号的uid作为flowIdaccountType: publishAccount.type,- accountId: publishAccount.account,+ accountId: publishAccount.id,title: selectedTask.title,desc: selectedTask.description,type: selectedTask.type as any, // 转换为PubType