feat: 添加测试用户到种子数据, AI改写功能优化, 前端联调修复
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user