Skip to content

Commit

Permalink
修复demo5,tab快速切换数据加载错乱bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ximan committed Jun 13, 2016
1 parent 009a2c2 commit 7f23036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
}
// 为了测试,延迟1秒加载
setTimeout(function(){
$('.lists').eq(itemIndex).append(result);
$('.lists').eq(0).append(result);
// 每次数据加载完,必须重置
me.resetload();
},1000);
Expand Down Expand Up @@ -231,7 +231,7 @@
}
// 为了测试,延迟1秒加载
setTimeout(function(){
$('.lists').eq(itemIndex).append(result);
$('.lists').eq(1).append(result);
// 每次数据加载完,必须重置
me.resetload();
},1000);
Expand Down

0 comments on commit 7f23036

Please sign in to comment.