搜索就算关键字不变,强制更新状态

This commit is contained in:
luchenqun 2017-03-13 09:42:40 +08:00
parent 14ac4a0aee
commit 6a16c739b1
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', 'pubSubService',
$scope.searchBookmarks = function(searchWord) {
$state.go('search', {
searchWord: searchWord,
},{
reload:true,
})
$scope.login = true;
updateMenuActive($scope.selectLoginIndex = 0);