fixConflict问题

当是第一个笔记时, inchangeNoteid=curNoteId
此时, 冲突, 会去服务器上拿数据->contentSynced -> 返回到前台, 虽然curNoteId != noteId,
但是inChangeNoteId=noteId, 于是reRenderNote 导致内容不符.
解决方法, 设置curNoteId时把inChangeNoteId清空
This commit is contained in:
life
2015-03-14 14:44:15 +08:00
parent 2b809fd377
commit b00c3080b8
2 changed files with 14 additions and 4 deletions

2
node_modules/note.js generated vendored
View File

@@ -120,7 +120,7 @@ var Note = {
if(isDirty) {
console.error("NONO----------");
Web.alertWeb("NONO");
// Web.alertWeb("??NONO");
}
updates['LocalIsDelete'] = false;
updates.UpdatedTime = date;