update:1.小说项目创建支持双模式生成,大纲-章节(一对一&一对多) 2.新增章节管理-编辑章节规划功能 3.修复灵感模式可重复点击选项问题,刷新对话内容丢失问题

This commit is contained in:
xiamuceer
2025-11-27 17:29:23 +08:00
parent 8121c04af9
commit deb6cc37a4
27 changed files with 1797 additions and 216 deletions
+14 -2
View File
@@ -801,7 +801,12 @@ export default function ProjectList() {
borderRadius: 8
}}>
<div style={{ fontSize: 20, fontWeight: 'bold', color: '#1890ff' }}>
{(project.current_words / 1000).toFixed(1)}K
{project.current_words >= 1000000
? (project.current_words / 1000000).toFixed(1) + 'M'
: project.current_words >= 1000
? (project.current_words / 1000).toFixed(1) + 'K'
: project.current_words
}
</div>
<Text type="secondary" style={{ fontSize: 12 }}></Text>
</div>
@@ -814,7 +819,14 @@ export default function ProjectList() {
borderRadius: 8
}}>
<div style={{ fontSize: 20, fontWeight: 'bold', color: '#52c41a' }}>
{project.target_words ? (project.target_words / 1000).toFixed(0) + 'K' : '--'}
{project.target_words
? (project.target_words >= 1000000
? (project.target_words / 1000000).toFixed(1) + 'M'
: project.target_words >= 1000
? (project.target_words / 1000).toFixed(1) + 'K'
: project.target_words)
: '--'
}
</div>
<Text type="secondary" style={{ fontSize: 12 }}></Text>
</div>