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

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

@ -78,7 +78,7 @@ console.log([
"======`-.____`-.___\\_____/___.-`____.-'======",
" `=---='",
"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
" 佛祖保佑 永无BUG",
" 佛祖保佑 永无BUG",
" 写字楼里写字间,写字间里程序员;",
" 程序人员写程序,又拿程序换酒钱。",
" 酒醒只在网上坐,酒醉还来网下眠;",

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);