更新一下历史搜索问题

This commit is contained in:
luchenqun 2017-05-05 09:53:29 +08:00
parent 3e5043a6c5
commit 74665857f0
1 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
on: 'focus',
inline: true
});
console.log("searchHistory = ", items.length);
console.log("searchHistory = ", items.length, JSON.stringify(data.search_history));
count++;
if (items.length >= 1 || count >= 20) {
clearInterval(id);
}