mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 15:41:19 +00:00
新笔记&&IsTrash不同步, enter搜索
This commit is contained in:
2
node_modules/sync.js
generated
vendored
2
node_modules/sync.js
generated
vendored
@@ -741,7 +741,7 @@ var Sync = {
|
||||
// 调api, 所有执行后再callback();
|
||||
// 一个一个同步执行, 因为要有
|
||||
async.eachSeries(notes, function(note, cb) {
|
||||
if(note.LocalIsNew) {
|
||||
if(note.LocalIsNew && !note.IsTrash) { // 是新的, 且不是trash
|
||||
// 添加, newNote的返回不会很多值(server端)
|
||||
Api.addNote(note, function(newNote) {
|
||||
if(!Common.isOk(newNote)) {
|
||||
|
Reference in New Issue
Block a user