Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
fix: 一键评论bug修复
yikaJasonMic970812d86c16
diff --git a/electron/main/interaction/service.ts b/electron/main/interaction/service.tsindex ca1df258..05cde465 100644--- a/electron/main/interaction/service.ts+++ b/electron/main/interaction/service.ts@@ -118,7 +118,7 @@ export class InteractionService {account: AccountModel,worksList: WorkData[],option: {- commentContent: string; // 评论内容+ commentContent?: string; // 评论内容taskId?: string; // 任务IDplatform?: string; // 平台IDlikeProb?: any; // 点赞概率@@ -133,8 +133,9 @@ export class InteractionService {error?: any;}) => void,) {- // console.log('------ autorInteraction', option);- const commentContentList = option.commentContent.split(',');+ const commentContentList = option.commentContent+ ? option.commentContent.split(',')+ : [];// return;const userInfo = getUserInfo();