改一下搜索跳转问题

This commit is contained in:
luchenqun 2017-02-08 15:59:13 +08:00
parent 52f6f17ecb
commit 1ba361f737
1 changed files with 5 additions and 4 deletions

View File

@ -158,10 +158,11 @@ app.controller('searchCtr', ['$scope', '$state', '$stateParams', '$filter', '$wi
$scope.bookmarkCount = data.totalItems; $scope.bookmarkCount = data.totalItems;
$scope.totalPages = Math.ceil($scope.bookmarkCount / perPageItems); $scope.totalPages = Math.ceil($scope.bookmarkCount / perPageItems);
pubSubService.publish('Common.menuActive', { // 有点问题,暂时留在这里
login: true, // pubSubService.publish('Common.menuActive', {
index: 0 // login: true,
}); // index: 0
// });
}) })
.catch((err) => console.log('getBookmarks err', err)); .catch((err) => console.log('getBookmarks err', err));
} }