mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-14 07:04:21 +08:00
Cannot sync InitSync note to server
This commit is contained in:
6
node_modules/sync.js
generated
vendored
6
node_modules/sync.js
generated
vendored
@@ -906,6 +906,12 @@ var Sync = {
|
||||
// 调api, 所有执行后再callback();
|
||||
// 一个一个同步执行, 因为要有
|
||||
async.eachSeries(notes, function(note, cb) {
|
||||
|
||||
if (note.InitSync) {
|
||||
console.error('InitSync is Dirty');
|
||||
return cb();
|
||||
}
|
||||
|
||||
if(note.LocalIsNew) {
|
||||
// 是新的, 且不是trash和删除的
|
||||
if(!note.IsTrash && !note.LocalIsDelete) {
|
||||
|
||||
Reference in New Issue
Block a user