Skip to content

Let's use AI to Earn!

fix: 修复了任务市场发布报错的问题

gaoSir8542d71a8b56
diff --git a/electron/main/plat/pub/PubItemVideo.ts b/electron/main/plat/pub/PubItemVideo.ts
index 09278890..2467ebfa 100644
--- a/electron/main/plat/pub/PubItemVideo.ts
+++ b/electron/main/plat/pub/PubItemVideo.ts
@@ -52,7 +52,7 @@ export class PubItemVideo extends PubItemBase {
topics: this.videoModel.topics || [],
coverPath: this.videoModel.coverPath || '',
visibleType: this.videoModel.visibleType || VisibleTypeEnum.Private,
- diffParams: this.videoModel.diffParams,
+ diffParams: this.videoModel.diffParams || {},
timingTime: this.videoModel.timingTime,
location: this.videoModel.location,
},