Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: 发布记录通知优化
gaoSir3c071c808fe0
diff --git a/src/views/publish/children/videoPage/components/VideoPubSetModal/VideoPubSetModal.tsx b/src/views/publish/children/videoPage/components/VideoPubSetModal/VideoPubSetModal.tsxindex ef46d4d4..b3364b3f 100644--- a/src/views/publish/children/videoPage/components/VideoPubSetModal/VideoPubSetModal.tsx+++ b/src/views/publish/children/videoPage/components/VideoPubSetModal/VideoPubSetModal.tsx@@ -212,13 +212,14 @@ const VideoPubSetModal = memo(// 发布记录通知消息初始化const initialNotice: NoticeItem = {- title: [- ...new Set(- videoListChoose.map(- (v) => AccountPlatInfoMap.get(v.account!.type)!.name,+ title:+ [+ ...new Set(+ videoListChoose.map(+ (v) => AccountPlatInfoMap.get(v.account!.type)!.name,+ ),),- ),- ].join('、'),+ ].join('、') + '发布任务',time: recordRes.createTime!,id: recordRes.id,pub: {@@ -250,7 +251,7 @@ const VideoPubSetModal = memo(});}const noticeList = noticeMap.get(NoticeType.PubNotice) || [];- noticeList.push(initialNotice);+ noticeList.unshift(initialNotice);addNotice(NoticeType.PubNotice, noticeList);// 发布