mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-18 01:16:56 +00:00
async
This commit is contained in:
3
node_modules/note.js
generated
vendored
3
node_modules/note.js
generated
vendored
@@ -1098,6 +1098,7 @@ var Note = {
|
|||||||
|
|
||||||
// 同步内容, 图片, 附件
|
// 同步内容, 图片, 附件
|
||||||
// 异步操作
|
// 异步操作
|
||||||
|
// 延迟1s
|
||||||
syncContentAndImagesAndAttachs: function(note) {
|
syncContentAndImagesAndAttachs: function(note) {
|
||||||
var me = this;
|
var me = this;
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
@@ -1121,7 +1122,7 @@ var Note = {
|
|||||||
var attach = attachs[i];
|
var attach = attachs[i];
|
||||||
me.downloadAttachFromServer(note.NoteId, attach.ServerFileId, attach.FileId);
|
me.downloadAttachFromServer(note.NoteId, attach.ServerFileId, attach.FileId);
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
|
||||||
// 同步图片
|
// 同步图片
|
||||||
|
Reference in New Issue
Block a user