mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-22 01:01:27 +08:00
防止总是修改updatedTime
This commit is contained in:
6
src/node_modules/note.js
generated
vendored
6
src/node_modules/note.js
generated
vendored
@@ -125,9 +125,11 @@ var Note = {
|
||||
}
|
||||
|
||||
updates['IsDirty'] = isDirty;
|
||||
|
||||
updates['LocalIsDelete'] = false;
|
||||
updates.UpdatedTime = date;
|
||||
|
||||
if(isDirty) {
|
||||
updates.UpdatedTime = date;
|
||||
}
|
||||
|
||||
// console.log('finally update:');
|
||||
// console.log(updates);
|
||||
|
||||
Reference in New Issue
Block a user