稍微完善以下历史搜索
This commit is contained in:
parent
560d3f8515
commit
89d4e3d550
|
|
@ -183,10 +183,12 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
|||
bookmarkService.userInfo({})
|
||||
.then((data) => {
|
||||
$scope.searchHistory = JSON.parse(data.search_history || '[]');
|
||||
$('.search-item').popup({
|
||||
on: 'focus',
|
||||
inline: true
|
||||
});
|
||||
$timeout(function() {
|
||||
$('.search-item').popup({
|
||||
on: 'focus',
|
||||
inline: true
|
||||
});
|
||||
}, 500)
|
||||
})
|
||||
.catch((err) => {
|
||||
toastr.error('获取信息失败。错误信息:' + JSON.stringify(err), "错误");
|
||||
|
|
|
|||
Loading…
Reference in New Issue