feat: 本次提交更新内容如下
样式和功能补齐
This commit is contained in:
@@ -107,7 +107,7 @@ export default function MomentsSync() {
|
||||
deviceCount: task.deviceCount || 0,
|
||||
targetGroup: task.targetGroup || '默认人群',
|
||||
syncCount: task.todaySyncCount || task.syncCount || 0,
|
||||
creator: task.creator || '未知',
|
||||
creatorName: task.creatorName || '未知',
|
||||
lastSyncTime: task.lastSyncTime || '暂无',
|
||||
createTime: task.createTime || '未知',
|
||||
syncInterval: task.syncInterval || 30,
|
||||
@@ -117,7 +117,7 @@ export default function MomentsSync() {
|
||||
targetTags: task.targetTags || [],
|
||||
syncMode: task.syncMode || 'auto',
|
||||
filterKeywords: task.filterKeywords || [],
|
||||
contentLib: task.contentLib || '默认内容库'
|
||||
contentLib: task.config?.contentLibraryNames?.join(',') || '默认内容库'
|
||||
}));
|
||||
setTasks(mappedTasks);
|
||||
} catch (error) {
|
||||
@@ -301,11 +301,16 @@ export default function MomentsSync() {
|
||||
<div className="grid grid-cols-2 gap-4 mb-4">
|
||||
<div className="text-sm text-gray-500">
|
||||
<div>推送设备:{task.deviceCount} 个</div>
|
||||
<div>内容库:{task.contentLib || '默认内容库'}</div>
|
||||
<div className="flex">
|
||||
<span className="flex-shrink-0">内容库:</span>
|
||||
<span className="truncate" title={task.contentLib || '默认内容库'}>
|
||||
{task.contentLib || '默认内容库'}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-sm text-gray-500">
|
||||
<div>已同步:{task.syncCount} 条</div>
|
||||
<div>创建人:{task.creator}</div>
|
||||
<div>创建人:{task.creatorName}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user