mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-22 01:01:27 +08:00
历史记录无日期
This commit is contained in:
2
src/node_modules/note.js
generated
vendored
2
src/node_modules/note.js
generated
vendored
@@ -197,7 +197,7 @@ var Note = {
|
||||
else {
|
||||
var histories = [];
|
||||
for(var i = doc.Histories.length - 1; i >= 0; --i) {
|
||||
histories.push({Content: doc.Histories[i]});
|
||||
histories.push({Content: doc.Histories[i], UpdatedTime: doc.UpdatedTime || new Date()});
|
||||
}
|
||||
callback(histories);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user