更新一下历史搜索问题
This commit is contained in:
parent
3e5043a6c5
commit
74665857f0
|
|
@ -211,7 +211,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
||||||
on: 'focus',
|
on: 'focus',
|
||||||
inline: true
|
inline: true
|
||||||
});
|
});
|
||||||
console.log("searchHistory = ", items.length);
|
console.log("searchHistory = ", items.length, JSON.stringify(data.search_history));
|
||||||
|
count++;
|
||||||
if (items.length >= 1 || count >= 20) {
|
if (items.length >= 1 || count >= 20) {
|
||||||
clearInterval(id);
|
clearInterval(id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue