* 开始图片生成流程 * 初始化进度状态和图片列表
()
| 289 | * 初始化进度状态和图片列表 |
| 290 | */ |
| 291 | startGeneration() { |
| 292 | this.stage = 'generating' |
| 293 | this.progress.current = 0 |
| 294 | this.progress.total = this.outline.pages.length |
| 295 | this.progress.status = 'generating' |
| 296 | // 为每个页面创建对应的图片占位对象 |
| 297 | this.images = this.outline.pages.map(page => ({ |
| 298 | index: page.index, |
| 299 | url: '', |
| 300 | status: 'generating' |
| 301 | })) |
| 302 | }, |
| 303 | |
| 304 | /** |
| 305 | * 更新图片生成进度 |
nothing calls this directly
no outgoing calls
no test coverage detected