feat: 添加测试用户到种子数据, AI改写功能优化, 前端联调修复

This commit is contained in:
2026-03-09 23:00:15 +08:00
parent 5e931424ab
commit 9948ccba8f
12 changed files with 1082 additions and 151 deletions

View File

@@ -218,7 +218,9 @@ export default class StoryScene extends BaseScene {
const padding = 16;
let y = 100 - this.recapScrollY;
const pathHistory = this.recapData?.pathHistory || [];
const rawPathHistory = this.recapData?.pathHistory;
// 兼容结局续写pathHistory 是对象而非数组)
const pathHistory = Array.isArray(rawPathHistory) ? rawPathHistory : [];
// 保存卡片位置用于点击检测
this.recapCardRects = [];