Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Jul 18, 2018
1 parent ef7abd0 commit b969d9a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sdk/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1234,13 +1234,14 @@ var gh=((((ga*ga)>>>17)+ga*gb)>>>15)+gb*gb;var gl=(((gx&4294901760)*gx)|0)+(((gx
}
//快照处理
if(opt.snapshoot){
if(!fromSnap && isEqual(res, app.storage.val(urlkey))){
res.snapshootEqual = true;
if(!fromSnap){
app.storage.val(urlkey, res);
if(isEqual(res, app.storage.val(urlkey))){
res.snapshootEqual = true;
}
}
}
}
//存储快照
if(opt.snapshoot){
} else if(opt.snapshoot && !fromSnap){
app.storage.val(urlkey, res);
}
typeof(tempSucc)==='function' && tempSucc(res);
Expand Down

0 comments on commit b969d9a

Please sign in to comment.